mirror of
https://github.com/dream-pep/koring-launcher.git
synced 2026-09-12 05:45:18 +08:00
Route Minecraft/Fabric/Forge downloads through BMCLAPI mirror and update installer logic. Added mirror rewrite utility (rewriteToMirror), mirror-aware downloadFile, and mirrorFetch; switched version manifest and metadata endpoints to bmclapi2.bangbang93.com and wired maven/assets hosts into xmcl/installer calls. Cleaned up compiled electron JS files and consolidated runtime files under electron-dist; updated electron-builder.yml (compression, asar, NSIS settings, license/installer assets and languages). Minor env/path changes (VITE_APP_ICON paths), added .npmrc (electron_mirror), new Koring.yml, pnpm-workspace and public installer assets. Also added/updated multiple frontend pages, store components, and TypeScript handlers to integrate the changes.
40 lines
949 B
YAML
40 lines
949 B
YAML
appId: com.lingke.koring.launcher
|
|
productName: Koring Launcher
|
|
directories:
|
|
output: dist-electron
|
|
buildResources: build
|
|
compression: maximum
|
|
asar: true
|
|
files:
|
|
- dist/**
|
|
- electron-dist/**/*.js
|
|
win:
|
|
target: nsis
|
|
icon: build/icon.ico
|
|
artifactName: "koring-launcher-${version}-setup.${ext}"
|
|
requestedExecutionLevel: asInvoker
|
|
mac:
|
|
target: dmg
|
|
icon: build/icon.png
|
|
linux:
|
|
target: AppImage
|
|
icon: build/icon.png
|
|
nsis:
|
|
oneClick: false
|
|
allowToChangeInstallationDirectory: true
|
|
installerIcon: build/icon.ico
|
|
uninstallerIcon: build/icon.ico
|
|
installerHeaderIcon: build/icon.ico
|
|
installerSidebar: build/installer-header.bmp
|
|
license: build/license.txt
|
|
createDesktopShortcut: true
|
|
createStartMenuShortcut: true
|
|
shortcutName: Koring Launcher
|
|
include: build/installer-custom.nsh
|
|
uninstallDisplayName: "Koring Launcher"
|
|
deleteAppDataOnUninstall: false
|
|
installerLanguages:
|
|
- "zh_CN"
|
|
- "zh_TW"
|
|
- "en_US"
|