mirror of
https://github.com/dream-pep/koring-launcher.git
synced 2026-09-12 05:45:18 +08:00
Introduce crash monitoring and an OOBE onboarding flow. Adds a crash logger (koring-crash.log), crash-monitor handler/window, preload-crash bridge, crash UI (crash.html, src/crash.tsx, pages/crash) and a debug page. Main process now sets up crash listeners, startup checks (first-launch, .minecraft), and a config reset/factory-reset that removes Koring.yml, koring-auth.json and background cache and can relaunch the app. Exposes config preloading to renderer, adds OOBE pages/layout, confirm dialog store/UI, trims Silk renderer settings, bumps version to 1.0.1 and adds motion dependency, and registers crash.html in Vite. Various related type and config updates included.
78 lines
2.6 KiB
JSON
78 lines
2.6 KiB
JSON
{
|
|
"name": "koring-launcher",
|
|
"private": true,
|
|
"version": "1.0.1",
|
|
"description": "Koring Launcher - Minecraft launcher built with Electron + React",
|
|
"author": "Shenzhen Lingke Network Technology Co., Ltd.",
|
|
"license": "LL-1.0",
|
|
"main": "electron/main.js",
|
|
"scripts": {
|
|
"dev:renderer": "vite --mode development",
|
|
"dev:main": "tsc -p tsconfig.electron.json && electron .",
|
|
"dev": "pnpm build:main && concurrently \"pnpm dev:renderer\" \"electron .\"",
|
|
"build:renderer:dev": "vite build --mode development",
|
|
"build:renderer:beta": "vite build --mode beta",
|
|
"build:renderer:run": "vite build --mode production",
|
|
"build:main": "tsc -p tsconfig.electron.json",
|
|
"build:dev": "pnpm build:renderer:dev && pnpm build:main",
|
|
"build:beta": "pnpm build:renderer:beta && pnpm build:main",
|
|
"build:run": "pnpm build:renderer:run && pnpm build:main",
|
|
"preview": "vite preview",
|
|
"icon:dev": "node scripts/switch-icon.js dev",
|
|
"icon:beta": "node scripts/switch-icon.js beta",
|
|
"icon:run": "node scripts/switch-icon.js run",
|
|
"version:set": "node scripts/version.js",
|
|
"pack": "electron-builder --dir",
|
|
"dist": "electron-builder",
|
|
"dist:win": "electron-builder --win",
|
|
"dist:mac": "electron-builder --mac",
|
|
"dist:linux": "electron-builder --linux",
|
|
"dist:dev": "pnpm build:dev && pnpm icon:dev && electron-builder --win",
|
|
"dist:beta": "pnpm build:beta && pnpm icon:beta && electron-builder --win",
|
|
"dist:run": "pnpm build:run && pnpm icon:run && electron-builder --win"
|
|
},
|
|
"dependencies": {
|
|
"@base-ui/react": "^1.6.0",
|
|
"@fontsource-variable/geist": "^5.2.9",
|
|
"@fontsource-variable/inter": "^5.2.8",
|
|
"@react-three/fiber": "^9.6.1",
|
|
"@types/three": "^0.184.1",
|
|
"@xmcl/core": "^2.15.1",
|
|
"@xmcl/installer": "^6.1.2",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"js-yaml": "^4.1.0",
|
|
"lucide-react": "^1.21.0",
|
|
"motion": "^12.42.2",
|
|
"next-themes": "^0.4.6",
|
|
"react": "^19.1.0",
|
|
"react-dom": "^19.1.0",
|
|
"sonner": "^2.0.7",
|
|
"tailwind-merge": "^3.6.0",
|
|
"three": "^0.184.0",
|
|
"tw-animate-css": "^1.4.0",
|
|
"zustand": "^5.0.14"
|
|
},
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": [
|
|
"electron",
|
|
"esbuild"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/vite": "^4.3.1",
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/react": "^19.1.8",
|
|
"@types/react-dom": "^19.1.6",
|
|
"@vitejs/plugin-react": "^4.6.0",
|
|
"concurrently": "^9.1.0",
|
|
"electron": "^33.0.0",
|
|
"electron-builder": "^25.1.8",
|
|
"shadcn": "^4.11.0",
|
|
"tailwindcss": "^4.3.1",
|
|
"tsx": "^4.19.0",
|
|
"typescript": "~5.8.3",
|
|
"vite": "^7.0.4"
|
|
}
|
|
}
|