From 12fdcf0335374043eb195c92171f18b373a88c97 Mon Sep 17 00:00:00 2001 From: neoapps-dev Date: Sat, 11 Apr 2026 20:58:34 +0300 Subject: [PATCH] fix(workshop): im a dumbass --- src-tauri/src/lib.rs | 2 +- src/components/views/WorkshopView.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index 7843b7d..0f5933a 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -953,7 +953,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/LCE-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 { diff --git a/src/components/views/WorkshopView.tsx b/src/components/views/WorkshopView.tsx index c9fe7d2..67baee4 100644 --- a/src/components/views/WorkshopView.tsx +++ b/src/components/views/WorkshopView.tsx @@ -5,7 +5,6 @@ import { TauriService } from '../../services/TauriService'; const REGISTRY_URL = 'https://raw.githubusercontent.com/LCE-Hub/LCE-Workshop/refs/heads/main/registry.json'; const RAW_BASE = 'https://raw.githubusercontent.com/LCE-Hub/LCE-Workshop/refs/heads/main'; - const CATEGORY_TABS = ['Skin', 'Texture', 'World', 'Mod', 'DLC'] as const; const ALL_TABS = [...CATEGORY_TABS, 'Search'] as const; type TabType = typeof ALL_TABS[number];