Rebrand (Hope this doesn't break anything)

This commit is contained in:
Santiago Fisela 2026-04-08 02:29:27 -03:00
parent 627e09b39a
commit c197716912
22 changed files with 180 additions and 119 deletions

View file

@ -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

View file

@ -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.

View file

@ -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

34
PKGBUILD Normal file
View file

@ -0,0 +1,34 @@
# Maintainer: NEOAPPS <asd22.info@gmail.com>
# Maintainer: Santiago Fisela <santyfisela@gmail.com>
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}"
}

View file

@ -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: ..

View file

@ -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;

View file

@ -1,24 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher</id>
<id>io.github.LCE_Emerald_Launcher.LCE_Emerald_Launcher</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-or-later</project_license>
<name>Emerald Legacy Launcher</name>
<name>LCE Emerald Launcher</name>
<summary>A launcher for Minecraft Legacy Console Edition</summary>
<description>
<p>FOSS cross-platform launcher for Minecraft Legacy Console Edition</p>
</description>
<launchable type="desktop-id">io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher.desktop</launchable>
<url type="homepage">https://github.com</url>
<launchable type="desktop-id">io.github.LCE_Emerald_Launcher.LCE_Emerald_Launcher.desktop</launchable>
<url type="homepage">https://github.com/LCE-Hub/LCE-Emerald-Launcher</url>
<developer_name>Emerald Team</developer_name>
<releases>
<release version="1.0.0" date="2026-03-19">
<description>
<p>Latest stable release of the Emerald Legacy Launcher.</p>
<p>Latest stable release of the LCE Emerald Launcher.</p>
</description>
</release>
</releases>
<provides>
<binary>emerald-legacy-launcher</binary>
<binary>lce-emerald-launcher</binary>
</provides>
</component>

View file

@ -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: ..

View file

@ -1,16 +1,18 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preload" href="/fonts/Mojangles.ttf" as="font" type="font/truetype" crossorigin>
<link rel="preload" href="/images/MenuTitle.png" as="image">
<title>Emerald Legacy Launcher</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preload" href="/fonts/Mojangles.ttf" as="font" type="font/truetype" crossorigin>
<link rel="preload" href="/images/MenuTitle.png" as="image">
<title>LCE Emerald Launcher</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>

View file

@ -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"
}
}
}

View file

@ -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"

View file

@ -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"]

View file

@ -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"

View file

@ -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<Runner> {
}
}
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())

View file

@ -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"
}
}
}
}

View file

@ -28,7 +28,7 @@ export const AppHeader = memo(function AppHeader({ playPressSound, uiFade }: App
style={{ imageRendering: "pixelated" }}
/>
<span className="text-xs text-gray-300 mc-text-shadow opacity-90 tracking-wide leading-none block pt-[1px]">
Emerald Legacy Launcher
LCE Emerald Launcher
</span>
</div>
<div className="flex items-center gap-1 pr-2">

View file

@ -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() {
/>
</a>
<a
href="https://github.com/Emerald-Legacy-Launcher/Emerald-Legacy-Launcher"
href="https://github.com/LCE-Hub/LCE-Emerald-Launcher"
target="_blank"
rel="noopener noreferrer"
onClick={() => {

View file

@ -228,7 +228,7 @@ const SetupView: React.FC<SetupViewProps> = ({ onComplete }) => {
<div className="absolute top-8 left-1/2 transform -translate-x-1/2">
<img
src={titleImage}
alt="Emerald Legacy"
alt="LCE Emerald"
className="h-16"
style={{ imageRendering: "pixelated" }}
/>
@ -277,7 +277,7 @@ const SetupView: React.FC<SetupViewProps> = ({ onComplete }) => {
{currentStep === 0 && (
<div className="text-center">
<h2 className="text-3xl font-bold mb-6 text-white" style={{ textShadow: "2px 2px 0px rgba(0,0,0,0.8)" }}>
Welcome to Emerald Legacy
Welcome to LCE Emerald
</h2>
<p className="text-lg mb-8 text-white/80">Let's configure your launcher</p>
@ -306,8 +306,8 @@ const SetupView: React.FC<SetupViewProps> = ({ onComplete }) => {
</h2>
<p className="text-lg mb-6 text-white/80">
{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"
}
</p>
@ -413,7 +413,7 @@ const SetupView: React.FC<SetupViewProps> = ({ onComplete }) => {
<div className="mt-6 p-4 bg-green-600/20 border-2 border-green-400 rounded-lg">
<p className="text-green-400 font-bold mb-2"> Windows Native Support</p>
<p className="text-xs text-white/80">Emerald Legacy runs natively on Windows without additional requirements.</p>
<p className="text-xs text-white/80">LCE Emerald runs natively on Windows without additional requirements.</p>
</div>
</div>
)}
@ -454,7 +454,7 @@ const SetupView: React.FC<SetupViewProps> = ({ onComplete }) => {
<div className="flex items-center justify-between">
<div className="text-left">
<p className="text-white font-bold">Discord Rich Presence</p>
<p className="text-xs text-white/60">Show your Emerald Legacy status on Discord</p>
<p className="text-xs text-white/60">Show your LCE Emerald status on Discord</p>
</div>
<button
onClick={() => {
@ -508,7 +508,7 @@ const SetupView: React.FC<SetupViewProps> = ({ onComplete }) => {
</div>
</div>
<p className="text-white/80">Emerald Legacy is now configured and ready to use!</p>
<p className="text-white/80">LCE Emerald is now configured and ready to use!</p>
</div>
)}
</motion.div>

View file

@ -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;

View file

@ -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);

View file

@ -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"

View file

@ -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 {