From c197716912d9d5b0a0a6777dd462ad64a9431a4a Mon Sep 17 00:00:00 2001 From: Santiago Fisela Date: Wed, 8 Apr 2026 02:29:27 -0300 Subject: [PATCH] Rebrand (Hope this doesn't break anything) --- .SRCINFO | 9 ++-- CONTRIBUTING.md | 2 +- LICENSE | 2 +- PKGBUILD | 34 ++++++++++++++ ...egacy_Launcher.Emerald_Legacy_Launcher.yml | 47 ------------------- ...ald_Launcher.LCE_Emerald_Launcher.desktop} | 6 +-- ...auncher.LCE_Emerald_Launcher.metainfo.xml} | 12 ++--- ..._Emerald_Launcher.LCE_Emerald_Launcher.yml | 47 +++++++++++++++++++ index.html | 28 ++++++----- package.json | 10 ++-- scripts/postinstall.sh | 4 +- src-tauri/Cargo.toml | 2 +- src-tauri/scripts/post-build-macos.sh | 4 +- src-tauri/src/lib.rs | 46 +++++++++++++----- src-tauri/tauri.conf.json | 14 +++--- src/components/layout/AppHeader.tsx | 2 +- src/components/views/HomeView.tsx | 4 +- src/components/views/SetupView.tsx | 14 +++--- src/components/views/WorkshopView.tsx | 4 +- src/hooks/useUpdateCheck.ts | 2 +- src/pages/App.tsx | 2 +- src/services/RpcService.ts | 4 +- 22 files changed, 180 insertions(+), 119 deletions(-) create mode 100644 PKGBUILD delete mode 100644 flatpak/io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher.yml rename flatpak/{io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher.desktop => io.github.LCE_Emerald_Launcher.LCE_Emerald_Launcher.desktop} (50%) rename flatpak/{io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher.metainfo.xml => io.github.LCE_Emerald_Launcher.LCE_Emerald_Launcher.metainfo.xml} (59%) create mode 100644 flatpak/io.github.LCE_Emerald_Launcher.LCE_Emerald_Launcher.yml diff --git a/.SRCINFO b/.SRCINFO index a3f8fe9..18ea36c 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,8 +1,8 @@ -pkgbase = emerald-legacy-launcher +pkgbase = lce-emerald-launcher pkgdesc = FOSS, cross-platform launcher for Minecraft Legacy Console Edition pkgver = 1.0.0 pkgrel = 1 - url = https://github.com/Emerald-Legacy-Launcher/Emerald-Legacy-Launcher + url = https://github.com/LCE-Hub/LCE-Emerald-Launcher arch = x86_64 license = GPL-3.0 makedepends = git @@ -24,7 +24,8 @@ pkgbase = emerald-legacy-launcher depends = webkit2gtk-4.1 optdepends = discord: Discord RPC support provides = emerald-legacy-launcher - source = emerald-legacy-launcher::git+https://github.com/Emerald-Legacy-Launcher/Emerald-Legacy-Launcher#branch=main + conflicts = emerald-legacy-launcher + source = lce-emerald-launcher::git+https://github.com/LCE-Hub/LCE-Emerald-Launcher#branch=main sha256sums = SKIP -pkgname = emerald-legacy-launcher +pkgname = lce-emerald-launcher diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 309885f..14e73b2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,4 +1,4 @@ -# Contributing to Emerald Legacy Launcher +# Contributing to LCE Emerald Launcher Thank you for considering contributing to Emerald! We appreciate all types of contributions, including bug fixes, new features, and documentation improvements. diff --git a/LICENSE b/LICENSE index 87ad063..f3269d9 100644 --- a/LICENSE +++ b/LICENSE @@ -631,7 +631,7 @@ to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. - Emerald Legacy Launcher - The unified hub for LCE preservation. + LCE Emerald Launcher - The unified hub for LCE preservation. Copyright (C) 2026 The Emerald Team and contributors This program is free software: you can redistribute it and/or modify diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..62c7a01 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: NEOAPPS +# Maintainer: Santiago Fisela +pkgname=lce-emerald-launcher +pkgver=1.0.0 +pkgrel=1 +pkgdesc="FOSS, cross-platform launcher for Minecraft Legacy Console Edition" +arch=('x86_64') +url="https://github.com/LCE-Hub/LCE-Emerald-Launcher" +license=('GPL-3.0') +depends=('cairo' 'desktop-file-utils' 'gdk-pixbuf2' 'glib2' 'gtk3' 'hicolor-icon-theme' 'libsoup' 'pango' 'webkit2gtk-4.1') +optdepends=('discord: Discord RPC support') +makedepends=('git' 'openssl' 'appmenu-gtk-module' 'libappindicator-gtk3' 'librsvg' 'cargo' 'pnpm' 'nodejs') +provides=('emerald-legacy-launcher') +conflicts=('emerald-legacy-launcher') +source=("$pkgname::git+$url#branch=main") +sha256sums=('SKIP') +pkgver() { + cd "$srcdir/$pkgname" + ( set -o pipefail + git describe --long --abbrev=7 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)" + ) +} + +build() { + cd "$srcdir/$pkgname" + pnpm install + pnpm tauri build --bundles=deb +} + +package() { + cd "$srcdir/$pkgname" + cp -a src-tauri/target/release/bundle/deb/LCE*_*_*/data/* "${pkgdir}" +} \ No newline at end of file diff --git a/flatpak/io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher.yml b/flatpak/io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher.yml deleted file mode 100644 index 10c2482..0000000 --- a/flatpak/io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher.yml +++ /dev/null @@ -1,47 +0,0 @@ -app-id: io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher -runtime: org.gnome.Platform -runtime-version: "48" -sdk: org.gnome.Sdk -sdk-extensions: - - org.freedesktop.Sdk.Extension.node20 - - org.freedesktop.Sdk.Extension.rust-stable -command: emerald-legacy-launcher -finish-args: - - --share=network - - --device=input - - --socket=x11 - - --socket=wayland - - --device=dri - - --filesystem=xdg-data - - --socket=pulseaudio - - --filesystem=xdg-run/pipewire-0 - -modules: - - shared-modules/libayatana-appindicator/libayatana-appindicator-gtk3.json - - name: emerald-legacy-launcher - buildsystem: simple - build-options: - append-path: /usr/lib/sdk/node20/bin:/usr/lib/sdk/rust-stable/bin - build-args: - - --share=network - env: - PKG_CONFIG_PATH: /usr/lib/sdk/node20/lib/pkgconfig:/usr/lib/sdk/rust-stable/lib/pkgconfig - CARGO_HOME: /run/build/emerald-legacy-launcher/cargo - PNPM_HOME: /run/build/emerald-legacy-launcher/pnpm-home - build-commands: - - . /usr/lib/sdk/rust-stable/enable.sh - - mkdir -p /run/build/emerald-legacy-launcher/pnpm-bin - - curl -fSL https://github.com/pnpm/pnpm/releases/download/v10.32.1/pnpm-linux-x64 -o /run/build/emerald-legacy-launcher/pnpm-bin/pnpm # yes i hardcode URLs - - chmod +x /run/build/emerald-legacy-launcher/pnpm-bin/pnpm - - export PATH=/run/build/emerald-legacy-launcher/pnpm-bin:$PATH - - CI=true PATH=/run/build/emerald-legacy-launcher/pnpm-bin:$PATH /run/build/emerald-legacy-launcher/pnpm-bin/pnpm install - - CI=true PATH=/run/build/emerald-legacy-launcher/pnpm-bin:$PATH /run/build/emerald-legacy-launcher/pnpm-bin/pnpm tauri build --no-bundle - - install -Dm755 src-tauri/target/release/emerald-legacy-launcher /app/bin/emerald-legacy-launcher - - mkdir -p /app/share/emerald-legacy-launcher/ - - cp -r dist /app/share/emerald-legacy-launcher/ - - install -Dm644 flatpak/io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher.desktop /app/share/applications/io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher.desktop - - install -Dm644 flatpak/io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher.metainfo.xml /app/share/metainfo/io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher.metainfo.xml - - install -Dm644 public/images/icon.png /app/share/icons/hicolor/512x512/apps/io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher.png - sources: - - type: dir - path: .. diff --git a/flatpak/io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher.desktop b/flatpak/io.github.LCE_Emerald_Launcher.LCE_Emerald_Launcher.desktop similarity index 50% rename from flatpak/io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher.desktop rename to flatpak/io.github.LCE_Emerald_Launcher.LCE_Emerald_Launcher.desktop index e013914..e0f4787 100644 --- a/flatpak/io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher.desktop +++ b/flatpak/io.github.LCE_Emerald_Launcher.LCE_Emerald_Launcher.desktop @@ -1,7 +1,7 @@ [Desktop Entry] -Name=Emerald Legacy Launcher +Name=LCE Emerald Launcher Comment=FOSS cross-platform launcher for Minecraft Legacy Console Edition -Exec=emerald-legacy-launcher -Icon=io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher +Exec=lce-emerald-launcher +Icon=io.github.LCE_Emerald_Launcher.LCE_Emerald_Launcher Type=Application Categories=Game; \ No newline at end of file diff --git a/flatpak/io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher.metainfo.xml b/flatpak/io.github.LCE_Emerald_Launcher.LCE_Emerald_Launcher.metainfo.xml similarity index 59% rename from flatpak/io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher.metainfo.xml rename to flatpak/io.github.LCE_Emerald_Launcher.LCE_Emerald_Launcher.metainfo.xml index 5e9956a..5163e5a 100644 --- a/flatpak/io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher.metainfo.xml +++ b/flatpak/io.github.LCE_Emerald_Launcher.LCE_Emerald_Launcher.metainfo.xml @@ -1,24 +1,24 @@ - io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher + io.github.LCE_Emerald_Launcher.LCE_Emerald_Launcher CC0-1.0 GPL-3.0-or-later - Emerald Legacy Launcher + LCE Emerald Launcher A launcher for Minecraft Legacy Console Edition

FOSS cross-platform launcher for Minecraft Legacy Console Edition

- io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher.desktop - https://github.com + io.github.LCE_Emerald_Launcher.LCE_Emerald_Launcher.desktop + https://github.com/LCE-Hub/LCE-Emerald-Launcher Emerald Team -

Latest stable release of the Emerald Legacy Launcher.

+

Latest stable release of the LCE Emerald Launcher.

- emerald-legacy-launcher + lce-emerald-launcher
diff --git a/flatpak/io.github.LCE_Emerald_Launcher.LCE_Emerald_Launcher.yml b/flatpak/io.github.LCE_Emerald_Launcher.LCE_Emerald_Launcher.yml new file mode 100644 index 0000000..b4e4c54 --- /dev/null +++ b/flatpak/io.github.LCE_Emerald_Launcher.LCE_Emerald_Launcher.yml @@ -0,0 +1,47 @@ +app-id: io.github.LCE_Emerald_Launcher.LCE_Emerald_Launcher +runtime: org.gnome.Platform +runtime-version: "48" +sdk: org.gnome.Sdk +sdk-extensions: + - org.freedesktop.Sdk.Extension.node20 + - org.freedesktop.Sdk.Extension.rust-stable +command: lce-emerald-launcher +finish-args: + - --share=network + - --device=input + - --socket=x11 + - --socket=wayland + - --device=dri + - --filesystem=xdg-data + - --socket=pulseaudio + - --filesystem=xdg-run/pipewire-0 + +modules: + - shared-modules/libayatana-appindicator/libayatana-appindicator-gtk3.json + - name: lce-emerald-launcher + buildsystem: simple + build-options: + append-path: /usr/lib/sdk/node20/bin:/usr/lib/sdk/rust-stable/bin + build-args: + - --share=network + env: + PKG_CONFIG_PATH: /usr/lib/sdk/node20/lib/pkgconfig:/usr/lib/sdk/rust-stable/lib/pkgconfig + CARGO_HOME: /run/build/lce-emerald-launcher/cargo + PNPM_HOME: /run/build/lce-emerald-launcher/pnpm-home + build-commands: + - . /usr/lib/sdk/rust-stable/enable.sh + - mkdir -p /run/build/lce-emerald-launcher/pnpm-bin + - curl -fSL https://github.com/pnpm/pnpm/releases/download/v10.32.1/pnpm-linux-x64 -o /run/build/lce-emerald-launcher/pnpm-bin/pnpm # yes i hardcode URLs + - chmod +x /run/build/lce-emerald-launcher/pnpm-bin/pnpm + - export PATH=/run/build/lce-emerald-launcher/pnpm-bin:$PATH + - CI=true PATH=/run/build/lce-emerald-launcher/pnpm-bin:$PATH /run/build/lce-emerald-launcher/pnpm-bin/pnpm install + - CI=true PATH=/run/build/lce-emerald-launcher/pnpm-bin:$PATH /run/build/lce-emerald-launcher/pnpm-bin/pnpm tauri build --no-bundle + - install -Dm755 src-tauri/target/release/lce-emerald-launcher /app/bin/lce-emerald-launcher + - mkdir -p /app/share/lce-emerald-launcher/ + - cp -r dist /app/share/lce-emerald-launcher/ + - install -Dm644 flatpak/io.github.LCE_Emerald_Launcher.LCE_Emerald_Launcher.desktop /app/share/applications/io.github.LCE_Emerald_Launcher.LCE_Emerald_Launcher.desktop + - install -Dm644 flatpak/io.github.LCE_Emerald_Launcher.LCE_Emerald_Launcher.metainfo.xml /app/share/metainfo/io.github.LCE_Emerald_Launcher.LCE_Emerald_Launcher.metainfo.xml + - install -Dm644 public/images/icon.png /app/share/icons/hicolor/512x512/apps/io.github.LCE_Emerald_Launcher.LCE_Emerald_Launcher.png + sources: + - type: dir + path: .. diff --git a/index.html b/index.html index fe4ae1e..08e17b3 100644 --- a/index.html +++ b/index.html @@ -1,16 +1,18 @@ - - - - - - - Emerald Legacy Launcher - - -
- - - + + + + + + + LCE Emerald Launcher + + + +
+ + + + \ No newline at end of file diff --git a/package.json b/package.json index aba604d..fef8c23 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,12 @@ { - "name": "emerald-legacy-launcher", + "name": "lce-emerald-launcher", "private": true, "version": "1.0.1", "type": "module", + "repository": { + "type": "git", + "url": "git+https://github.com/LCE-Hub/LCE-Emerald-Launcher.git" + }, "scripts": { "dev": "vite", "build": "tsc && vite build", @@ -10,7 +14,7 @@ "tauri": "tauri", "tauri:build": "tauri build && pnpm run post-build:macos", "post-build:macos": "sh src-tauri/scripts/post-build-macos.sh", - "flatpak": "flatpak-builder --user --install-deps-from=flathub --repo=emerald-repo --force-clean build-flatpak flatpak/io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher.yml && flatpak build-bundle emerald-repo emerald.flatpak io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher" + "flatpak": "flatpak-builder --user --install-deps-from=flathub --repo=emerald-repo --force-clean build-flatpak flatpak/io.github.LCE_Emerald_Launcher.LCE_Emerald_Launcher.yml && flatpak build-bundle emerald-repo emerald.flatpak io.github.LCE_Emerald_Launcher.LCE_Emerald_Launcher" }, "dependencies": { "@tauri-apps/api": "^2", @@ -36,4 +40,4 @@ "tauri-plugin-drpc": "^1.0.3", "tauri-plugin-gamepad-api": "^0.0.5" } -} +} \ No newline at end of file diff --git a/scripts/postinstall.sh b/scripts/postinstall.sh index 67d968d..7d2f03a 100755 --- a/scripts/postinstall.sh +++ b/scripts/postinstall.sh @@ -3,9 +3,9 @@ # Post-install script for PKG installer # Automatically removes quarantine attributes from the installed app -APP_PATH="$2/Applications/Emerald Legacy Launcher.app" +APP_PATH="$2/Applications/LCE Emerald Launcher.app" -echo "Removing quarantine attributes from Emerald Legacy Launcher..." +echo "Removing quarantine attributes from LCE Emerald Launcher..." if [ -d "$APP_PATH" ]; then xattr -cr "$APP_PATH" diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 02cd558..20adde5 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "emerald-legacy-launcher" +name = "lce-emerald-launcher" version = "1.0.1" description = "A FOSS, cross-platform launcher for Minecraft Legacy Edition" authors = ["Emerald Team"] diff --git a/src-tauri/scripts/post-build-macos.sh b/src-tauri/scripts/post-build-macos.sh index e1c5bb5..279ce20 100755 --- a/src-tauri/scripts/post-build-macos.sh +++ b/src-tauri/scripts/post-build-macos.sh @@ -5,8 +5,8 @@ set -e -APP_NAME="Emerald Legacy Launcher" -BUNDLE_ID="com.emerald.legacy" +APP_NAME="LCE Emerald Launcher" +BUNDLE_ID="com.lce.emerald" BASE_DIR="src-tauri/target" echo "Running macOS post-build fixes" diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index 7843b7d..02feec9 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -93,16 +93,10 @@ fn get_app_dir(app: &AppHandle) -> PathBuf { #[cfg(target_os = "macos")] fn get_macos_runtime_dir(app: &AppHandle) -> PathBuf { - let home = app - .path() - .home_dir() - .ok() - .or_else(|| std::env::var("HOME").ok().map(PathBuf::from)) - .unwrap_or_else(|| PathBuf::from("/")); - home.join("Library") - .join("Application Support") - .join("com.emerald.legacy") - .join("runtime") + app.path().app_local_data_dir().unwrap_or_else(|_| { + let home = app.path().home_dir().ok().or_else(|| std::env::var("HOME").ok().map(PathBuf::from)).unwrap_or_else(|| PathBuf::from("/")); + home.join("Library").join("Application Support").join("com.lce.emerald") + }).join("runtime") } #[cfg(target_os = "macos")] @@ -260,7 +254,7 @@ fn get_available_runners(app: AppHandle) -> Vec { } } - if let Ok(output) = Command::new("ls").arg("/usr/share/emerald-legacy-launcher/wine/bin/wine").output() { + if let Ok(output) = Command::new("ls").arg("/usr/share/lce-emerald-launcher/wine/bin/wine").output() { if output.status.success() { let path = String::from_utf8_lossy(&output.stdout).trim().to_string(); if !seen_paths.contains(&path) { @@ -469,7 +463,7 @@ async fn setup_macos_runtime(window: tauri::Window, app: AppHandle) -> Result<() let client = reqwest::Client::new(); let release_text = client .get("https://api.github.com/repos/Gcenx/game-porting-toolkit/releases/latest") - .header("User-Agent", "Emerald-Legacy-Launcher") + .header("User-Agent", "LCE-Emerald-Launcher") .send() .await .map_err(|e| e.to_string())? @@ -953,7 +947,7 @@ async fn workshop_install(app: AppHandle, request: WorkshopInstallRequest) -> Re .and_then(|s| serde_json::from_str(&s).ok()) .unwrap_or_default(); - let raw_base = format!("https://raw.githubusercontent.com/Emerald-Legacy-Launcher/Workshop/refs/heads/main/{}", request.package_id); + let raw_base = format!("https://raw.githubusercontent.com/LCE-Hub/Workshop/refs/heads/main/{}", request.package_id); let tmp_dir = root.join(format!("workshop_tmp_{}", request.package_id)); fs::create_dir_all(&tmp_dir).map_err(|e| e.to_string())?; for (zip_name, placeholder) in &request.zips { @@ -1284,9 +1278,35 @@ async fn fetch_skin(username: String) -> Result<(String, String), String> { Ok((image_b64.to_string(), name_exact)) } +fn migrate_data(app: &tauri::App) { + let new_data_dir = app.path().app_local_data_dir().unwrap_or_default(); + if new_data_dir.as_os_str().is_empty() { return; } + + let parent = new_data_dir.parent().unwrap(); + let old_data_dir = parent.join("com.emerald.legacy"); + + if old_data_dir.exists() && !new_data_dir.exists() { + println!("Rebranding: Migrating data from {:?} to {:?}", old_data_dir, new_data_dir); + let _ = fs::create_dir_all(&new_data_dir); + if let Ok(entries) = fs::read_dir(&old_data_dir) { + for entry in entries.flatten() { + let name = entry.file_name(); + let dest = new_data_dir.join(name); + let _ = fs::rename(entry.path(), dest); + } + } + + let _ = fs::remove_dir_all(&old_data_dir); + } +} + #[cfg_attr(mobile, tauri::mobile_entry_point)] pub fn run() { tauri::Builder::default() + .setup(|app| { + migrate_data(app); + Ok(()) + }) .manage(DownloadState { token: Arc::new(Mutex::new(None)) }) .manage(GameState { child: Arc::new(Mutex::new(None)) }) .plugin(tauri_plugin_gamepad::init()) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index a682e55..a5cb4da 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,8 +1,8 @@ { "$schema": "https://schema.tauri.app/config/2", - "productName": "Emerald Legacy Launcher", + "productName": "LCE Emerald Launcher", "version": "1.0.1", - "identifier": "com.emerald.legacy", + "identifier": "com.lce.emerald", "build": { "beforeDevCommand": "npm run dev", "devUrl": "http://localhost:1420", @@ -13,7 +13,7 @@ "windows": [ { "label": "main", - "title": "Emerald Legacy Launcher", + "title": "LCE Emerald Launcher", "width": 1280, "height": 720, "minWidth": 1280, @@ -33,9 +33,9 @@ "active": true, "targets": "all", "linux": { - "appimage": { - "bundleMediaFramework": true - } + "appimage": { + "bundleMediaFramework": true + } }, "resources": [ "resources/DLC" @@ -55,4 +55,4 @@ "providerShortName": "Emerald" } } -} +} \ No newline at end of file diff --git a/src/components/layout/AppHeader.tsx b/src/components/layout/AppHeader.tsx index c88d7ea..7d275d1 100644 --- a/src/components/layout/AppHeader.tsx +++ b/src/components/layout/AppHeader.tsx @@ -28,7 +28,7 @@ export const AppHeader = memo(function AppHeader({ playPressSound, uiFade }: App style={{ imageRendering: "pixelated" }} /> - Emerald Legacy Launcher + LCE Emerald Launcher
diff --git a/src/components/views/HomeView.tsx b/src/components/views/HomeView.tsx index 3925103..a541eef 100644 --- a/src/components/views/HomeView.tsx +++ b/src/components/views/HomeView.tsx @@ -37,7 +37,7 @@ const HomeView = memo(function HomeView() { ? `Play Game` : `Download ${selectedVersionName}`, action: isDownloading - ? () => {} + ? () => { } : isInstalled ? handleLaunch : () => toggleInstall(profile), @@ -140,7 +140,7 @@ const HomeView = memo(function HomeView() { /> { diff --git a/src/components/views/SetupView.tsx b/src/components/views/SetupView.tsx index 7b7eba7..a448fdf 100644 --- a/src/components/views/SetupView.tsx +++ b/src/components/views/SetupView.tsx @@ -228,7 +228,7 @@ const SetupView: React.FC = ({ onComplete }) => {
Emerald Legacy @@ -277,7 +277,7 @@ const SetupView: React.FC = ({ onComplete }) => { {currentStep === 0 && (

- Welcome to Emerald Legacy + Welcome to LCE Emerald

Let's configure your launcher

@@ -306,8 +306,8 @@ const SetupView: React.FC = ({ onComplete }) => {

{runtimeAlreadyInstalled - ? "Emerald Legacy compatibility runtime is already installed" - : "Emerald Legacy needs compatibility runtime for macOS" + ? "LCE Emerald compatibility runtime is already installed" + : "LCE Emerald needs compatibility runtime for macOS" }

@@ -413,7 +413,7 @@ const SetupView: React.FC = ({ onComplete }) => {

✓ Windows Native Support

-

Emerald Legacy runs natively on Windows without additional requirements.

+

LCE Emerald runs natively on Windows without additional requirements.

)} @@ -454,7 +454,7 @@ const SetupView: React.FC = ({ onComplete }) => {

Discord Rich Presence

-

Show your Emerald Legacy status on Discord

+

Show your LCE Emerald status on Discord

-

Emerald Legacy is now configured and ready to use!

+

LCE Emerald is now configured and ready to use!

)} diff --git a/src/components/views/WorkshopView.tsx b/src/components/views/WorkshopView.tsx index 2646f29..ca4d4bd 100644 --- a/src/components/views/WorkshopView.tsx +++ b/src/components/views/WorkshopView.tsx @@ -3,8 +3,8 @@ import { motion, AnimatePresence } from 'framer-motion'; import { useUI, useAudio, useConfig, GameContext } from '../../context/LauncherContext'; import { TauriService } from '../../services/TauriService'; -const REGISTRY_URL = 'https://raw.githubusercontent.com/Emerald-Legacy-Launcher/Workshop/refs/heads/main/registry.json'; -const RAW_BASE = 'https://raw.githubusercontent.com/Emerald-Legacy-Launcher/Workshop/refs/heads/main'; +const REGISTRY_URL = 'https://raw.githubusercontent.com/LCE-Hub/Workshop/refs/heads/main/registry.json'; +const RAW_BASE = 'https://raw.githubusercontent.com/LCE-Hub/Workshop/refs/heads/main'; const CATEGORY_TABS = ['Skin', 'Texture', 'World', 'Mod', 'DLC'] as const; const ALL_TABS = [...CATEGORY_TABS, 'Search'] as const; diff --git a/src/hooks/useUpdateCheck.ts b/src/hooks/useUpdateCheck.ts index f6fe239..8a3447d 100644 --- a/src/hooks/useUpdateCheck.ts +++ b/src/hooks/useUpdateCheck.ts @@ -2,7 +2,7 @@ import { useState, useEffect, useCallback } from "react"; import pkg from "../../package.json"; const CURRENT_VERSION = pkg.version; -const REPO_URL = "https://api.github.com/repos/Emerald-Legacy-Launcher/Emerald-Legacy-Launcher/releases/latest"; +const REPO_URL = "https://api.github.com/repos/LCE-Hub/LCE-Emerald-Launcher/releases/latest"; function isNewerVersion(latest: string, current: string): boolean { const latestParts = latest.split('.').map(Number); diff --git a/src/pages/App.tsx b/src/pages/App.tsx index 0ffad27..91e531f 100644 --- a/src/pages/App.tsx +++ b/src/pages/App.tsx @@ -153,7 +153,7 @@ export default function App() { message={updateMessage} onClose={clearUpdateMessage} onClick={() => - TauriService.openUrl("https://emerald-legacy-launcher.github.io/") + TauriService.openUrl("https://lce-hub.github.io/") } title="Update Available!" variant="update" diff --git a/src/services/RpcService.ts b/src/services/RpcService.ts index 7ae7c2c..0520286 100644 --- a/src/services/RpcService.ts +++ b/src/services/RpcService.ts @@ -41,7 +41,7 @@ class RPC { const assets = new Assets(); assets.setLargeImage("logo"); - assets.setLargeText("Emerald Legacy"); + assets.setLargeText("LCE Emerald"); assets.setSmallImage("app-icon"); assets.setSmallText(isPlaying ? "Playing" : "In Menus"); activity.setAssets(assets); @@ -50,7 +50,7 @@ class RPC { activity.setButton([ new Button("Discord", "https://discord.gg/RHGRUwpmVc"), - new Button("GitHub", "https://github.com/Emerald-Legacy-Launcher/Emerald-Legacy-Launcher") + new Button("GitHub", "https://github.com/LCE-Hub/LCE-Emerald-Launcher") ]); try {