change:将打包配置名替换为starlight

This commit is contained in:
2026-09-11 22:01:16 +08:00
parent 4156b7e689
commit 7220145af1
5 changed files with 167 additions and 168 deletions

View File

@ -7,10 +7,10 @@
<array> <array>
<dict> <dict>
<key>CFBundleURLName</key> <key>CFBundleURLName</key>
<string>AxolotlLauncher</string> <string>StarlightLauncher</string>
<key>CFBundleURLSchemes</key> <key>CFBundleURLSchemes</key>
<array> <array>
<string>axolotl</string> <string>starlight</string>
</array> </array>
</dict> </dict>
</array> </array>

View File

@ -842,7 +842,7 @@ FunctionEnd
!include "{{this}}" !include "{{this}}"
{{/each}} {{/each}}
LangString axlWelcomeTitle ${LANG_ENGLISH} "Install Axolotl Launcher" LangString axlWelcomeTitle ${LANG_ENGLISH} "Install Starlight Launcher"
LangString axlWelcomeText ${LANG_ENGLISH} "A modern home for your Minecraft instances.$\r$\n$\r$\nVersion ${VERSION} · 64-bit · Current user" LangString axlWelcomeText ${LANG_ENGLISH} "A modern home for your Minecraft instances.$\r$\n$\r$\nVersion ${VERSION} · 64-bit · Current user"
LangString axlStart ${LANG_ENGLISH} "Start" LangString axlStart ${LANG_ENGLISH} "Start"
LangString axlOptionsTitle ${LANG_ENGLISH} "Installation settings" LangString axlOptionsTitle ${LANG_ENGLISH} "Installation settings"
@ -852,7 +852,7 @@ LangString axlResourceDirectoryDescription ${LANG_ENGLISH} "Stores game instance
LangString axlBrowse ${LANG_ENGLISH} "Browse..." LangString axlBrowse ${LANG_ENGLISH} "Browse..."
LangString axlSelectInstallDirectory ${LANG_ENGLISH} "Select the program installation location" LangString axlSelectInstallDirectory ${LANG_ENGLISH} "Select the program installation location"
LangString axlSelectResourceDirectory ${LANG_ENGLISH} "Select the application directory" LangString axlSelectResourceDirectory ${LANG_ENGLISH} "Select the application directory"
LangString axlExistingDirectoryNotice ${LANG_ENGLISH} "This directory already contains files. Axolotl will keep them." LangString axlExistingDirectoryNotice ${LANG_ENGLISH} "This directory already contains files. Starlight will keep them."
LangString axlExistingInstallDirectoryPreserved ${LANG_ENGLISH} "Your existing application directory will be preserved. You can change it later in Settings > Resource management." LangString axlExistingInstallDirectoryPreserved ${LANG_ENGLISH} "Your existing application directory will be preserved. You can change it later in Settings > Resource management."
LangString axlInstallButton ${LANG_ENGLISH} "Install" LangString axlInstallButton ${LANG_ENGLISH} "Install"
LangString axlBack ${LANG_ENGLISH} "Back" LangString axlBack ${LANG_ENGLISH} "Back"
@ -860,12 +860,12 @@ LangString axlInstallDirectoryInvalid ${LANG_ENGLISH} "Choose an absolute progra
LangString axlResourceDirectoryAbsolute ${LANG_ENGLISH} "Choose an absolute application directory." LangString axlResourceDirectoryAbsolute ${LANG_ENGLISH} "Choose an absolute application directory."
LangString axlResourceDirectoryRoot ${LANG_ENGLISH} "The root of a drive or network share cannot be used as the application directory." LangString axlResourceDirectoryRoot ${LANG_ENGLISH} "The root of a drive or network share cannot be used as the application directory."
LangString axlResourceDirectoryInsideInstall ${LANG_ENGLISH} "The application directory must be separate from the program installation location." LangString axlResourceDirectoryInsideInstall ${LANG_ENGLISH} "The application directory must be separate from the program installation location."
LangString axlResourceDirectoryNotWritable ${LANG_ENGLISH} "Axolotl cannot write to this application directory. Choose another location or change its permissions." LangString axlResourceDirectoryNotWritable ${LANG_ENGLISH} "Starlight cannot write to this application directory. Choose another location or change its permissions."
LangString axlFinishTitle ${LANG_ENGLISH} "Axolotl Launcher is installed" LangString axlFinishTitle ${LANG_ENGLISH} "Starlight Launcher is installed"
LangString axlFinishText ${LANG_ENGLISH} "Everything is ready. Your application directory is:$\r$\n$ResourceDir" LangString axlFinishText ${LANG_ENGLISH} "Everything is ready. Your application directory is:$\r$\n$ResourceDir"
LangString axlFinishButton ${LANG_ENGLISH} "Finish" LangString axlFinishButton ${LANG_ENGLISH} "Finish"
LangString axlWelcomeTitle ${LANG_SIMPCHINESE} "安装 Axolotl Launcher" LangString axlWelcomeTitle ${LANG_SIMPCHINESE} "安装 Starlight Launcher"
LangString axlWelcomeText ${LANG_SIMPCHINESE} "为你的 Minecraft 实例准备的现代化启动器。$\r$\n$\r$\n版本 ${VERSION} · 64 位 · 当前用户" LangString axlWelcomeText ${LANG_SIMPCHINESE} "为你的 Minecraft 实例准备的现代化启动器。$\r$\n$\r$\n版本 ${VERSION} · 64 位 · 当前用户"
LangString axlStart ${LANG_SIMPCHINESE} "开始" LangString axlStart ${LANG_SIMPCHINESE} "开始"
LangString axlOptionsTitle ${LANG_SIMPCHINESE} "安装设置" LangString axlOptionsTitle ${LANG_SIMPCHINESE} "安装设置"
@ -875,7 +875,7 @@ LangString axlResourceDirectoryDescription ${LANG_SIMPCHINESE} "用于保存游
LangString axlBrowse ${LANG_SIMPCHINESE} "浏览..." LangString axlBrowse ${LANG_SIMPCHINESE} "浏览..."
LangString axlSelectInstallDirectory ${LANG_SIMPCHINESE} "选择程序安装位置" LangString axlSelectInstallDirectory ${LANG_SIMPCHINESE} "选择程序安装位置"
LangString axlSelectResourceDirectory ${LANG_SIMPCHINESE} "选择应用目录" LangString axlSelectResourceDirectory ${LANG_SIMPCHINESE} "选择应用目录"
LangString axlExistingDirectoryNotice ${LANG_SIMPCHINESE} "此目录中已有文件,Axolotl 会保留这些内容。" LangString axlExistingDirectoryNotice ${LANG_SIMPCHINESE} "此目录中已有文件,Starlight 会保留这些内容。"
LangString axlExistingInstallDirectoryPreserved ${LANG_SIMPCHINESE} "将保留现有应用目录。之后仍可在“设置 > 资源管理”中修改。" LangString axlExistingInstallDirectoryPreserved ${LANG_SIMPCHINESE} "将保留现有应用目录。之后仍可在“设置 > 资源管理”中修改。"
LangString axlInstallButton ${LANG_SIMPCHINESE} "安装" LangString axlInstallButton ${LANG_SIMPCHINESE} "安装"
LangString axlBack ${LANG_SIMPCHINESE} "上一步" LangString axlBack ${LANG_SIMPCHINESE} "上一步"
@ -883,8 +883,8 @@ LangString axlInstallDirectoryInvalid ${LANG_SIMPCHINESE} "请选择有效的绝
LangString axlResourceDirectoryAbsolute ${LANG_SIMPCHINESE} "请选择有效的绝对应用目录。" LangString axlResourceDirectoryAbsolute ${LANG_SIMPCHINESE} "请选择有效的绝对应用目录。"
LangString axlResourceDirectoryRoot ${LANG_SIMPCHINESE} "不能将磁盘或网络共享根目录直接用作应用目录。" LangString axlResourceDirectoryRoot ${LANG_SIMPCHINESE} "不能将磁盘或网络共享根目录直接用作应用目录。"
LangString axlResourceDirectoryInsideInstall ${LANG_SIMPCHINESE} "应用目录必须与程序安装位置分开。" LangString axlResourceDirectoryInsideInstall ${LANG_SIMPCHINESE} "应用目录必须与程序安装位置分开。"
LangString axlResourceDirectoryNotWritable ${LANG_SIMPCHINESE} "Axolotl 无法写入该应用目录,请更换位置或调整目录权限。" LangString axlResourceDirectoryNotWritable ${LANG_SIMPCHINESE} "Starlight 无法写入该应用目录,请更换位置或调整目录权限。"
LangString axlFinishTitle ${LANG_SIMPCHINESE} "Axolotl Launcher 已安装" LangString axlFinishTitle ${LANG_SIMPCHINESE} "Starlight Launcher 已安装"
LangString axlFinishText ${LANG_SIMPCHINESE} "一切准备就绪。当前应用目录:$\r$\n$ResourceDir" LangString axlFinishText ${LANG_SIMPCHINESE} "一切准备就绪。当前应用目录:$\r$\n$ResourceDir"
LangString axlFinishButton ${LANG_SIMPCHINESE} "完成" LangString axlFinishButton ${LANG_SIMPCHINESE} "完成"

View File

@ -1,136 +1,135 @@
{ {
"$schema": "https://schema.tauri.app/config/2", "$schema": "https://schema.tauri.app/config/2",
"build": { "build": {
"beforeDevCommand": "pnpm turbo run dev --filter=@modrinth/app-frontend", "beforeDevCommand": "pnpm turbo run dev --filter=@modrinth/app-frontend",
"beforeBuildCommand": "pnpm turbo run build --filter=@modrinth/app-frontend", "beforeBuildCommand": "pnpm turbo run build --filter=@modrinth/app-frontend",
"frontendDist": "../app-frontend/dist", "frontendDist": "../app-frontend/dist",
"devUrl": "http://localhost:5201" "devUrl": "http://localhost:5201"
}, },
"bundle": { "bundle": {
"active": true, "active": true,
"category": "Game", "category": "Game",
"copyright": "", "copyright": "",
"targets": "all", "targets": "all",
"externalBin": [], "externalBin": [],
"resources": ["resources/blockbench-skin"], "resources": ["resources/blockbench-skin"],
"icon": [ "icon": [
"icons/128x128.png", "icons/128x128.png",
"icons/128x128@2x.png", "icons/128x128@2x.png",
"icons/icon.icns", "icons/icon.icns",
"icons/icon.ico", "icons/icon.ico",
"icons/AxolotlAssets.car" "icons/AxolotlAssets.car"
], ],
"windows": { "windows": {
"nsis": { "nsis": {
"installMode": "currentUser", "installMode": "currentUser",
"installerHooks": "./nsis/hooks.nsi" "installerHooks": "./nsis/hooks.nsi"
} }
}, },
"longDescription": "", "longDescription": "",
"macOS": { "macOS": {
"entitlements": "App.entitlements", "entitlements": "App.entitlements",
"exceptionDomain": "", "exceptionDomain": "",
"frameworks": [], "frameworks": [],
"providerShortName": null, "providerShortName": null,
"signingIdentity": null, "signingIdentity": null,
"dmg": { "dmg": {
"windowSize": { "windowSize": {
"width": 661, "width": 661,
"height": 432 "height": 432
}, },
"appPosition": { "appPosition": {
"x": 188, "x": 188,
"y": 212 "y": 212
}, },
"applicationFolderPosition": { "applicationFolderPosition": {
"x": 475, "x": 475,
"y": 212 "y": 212
} }
} }
}, },
"shortDescription": "", "shortDescription": "",
"linux": { "linux": {
"deb": { "deb": {
"depends": ["libwebkit2gtk-4.1-0", "libgtk-3-0", "libayatana-appindicator3-1"] "depends": ["libwebkit2gtk-4.1-0", "libgtk-3-0", "libayatana-appindicator3-1"]
} }
}, },
"fileAssociations": [ "fileAssociations": [
{ {
"ext": ["mrpack"], "ext": ["mrpack"],
"mimeType": "application/x-modrinth-modpack+zip" "mimeType": "application/x-modrinth-modpack+zip"
} }
] ]
}, },
"productName": "Axolotl Launcher", "productName": "Starlight Launcher",
"version": "../app-frontend/package.json", "version": "../app-frontend/package.json",
"mainBinaryName": "Axolotl Launcher", "mainBinaryName": "Starlight Launcher",
"identifier": "red.ghs.axolotl", "identifier": "cool.starlight.launcher",
"plugins": { "plugins": {
"deep-link": { "deep-link": {
"desktop": { "desktop": {
"schemes": ["axolotl"] "schemes": ["starlight"]
}, },
"mobile": [] "mobile": []
} }
}, },
"app": { "app": {
"withGlobalTauri": false, "withGlobalTauri": false,
"macOSPrivateApi": true, "macOSPrivateApi": true,
"windows": [ "windows": [
{ {
"titleBarStyle": "Overlay", "titleBarStyle": "Overlay",
"hiddenTitle": true, "hiddenTitle": true,
"fullscreen": false, "fullscreen": false,
"height": 800, "height": 800,
"resizable": true, "resizable": true,
"title": "Axolotl Launcher", "title": "Axolotl Launcher",
"label": "main", "label": "main",
"width": 1280, "width": 1280,
"minHeight": 700, "minHeight": 700,
"minWidth": 1100, "minWidth": 1100,
"visible": false, "visible": false,
"zoomHotkeysEnabled": false, "zoomHotkeysEnabled": false,
"decorations": false, "decorations": false,
"transparent": true "transparent": true
} }
], ],
"security": { "security": {
"assetProtocol": { "assetProtocol": {
"scope": [ "scope": [
"$APPDATA/backgrounds/*", "$APPDATA/backgrounds/*",
"$APPDATA/caches/icons/*", "$APPDATA/caches/icons/*",
"$APPCONFIG/caches/icons/*", "$APPCONFIG/caches/icons/*",
"$CONFIG/caches/icons/*", "$CONFIG/caches/icons/*",
"$APPDATA/profiles/*/saves/*/icon.png", "$APPDATA/profiles/*/saves/*/icon.png",
"$APPCONFIG/profiles/*/saves/*/icon.png", "$APPCONFIG/profiles/*/saves/*/icon.png",
"$CONFIG/profiles/*/saves/*/icon.png" "$CONFIG/profiles/*/saves/*/icon.png"
], ],
"enable": true "enable": true
}, },
"capabilities": ["core", "plugins"], "capabilities": ["core", "plugins"],
"devCsp": { "devCsp": {
"default-src": "'self' customprotocol: asset:", "default-src": "'self' customprotocol: asset:",
"connect-src": "ipc: http://ipc.localhost http://localhost:5201 ws://localhost:5201 https://modrinth.com https://*.modrinth.com https://api.mclo.gs http://textures.minecraft.net https://textures.minecraft.net https://fill.papermc.io https://api.papermc.io https://piston-meta.mojang.com https://launchermeta.mojang.com https://meta.fabricmc.net https://files.minecraftforge.net https://maven.minecraftforge.net https://api.purpurmc.org https://mod.mcimirror.top https://mod.tianpao.top https://admin.axlmc.org 'self' data: blob:", "connect-src": "ipc: http://ipc.localhost http://localhost:5201 ws://localhost:5201 https://modrinth.com https://*.modrinth.com https://api.mclo.gs http://textures.minecraft.net https://textures.minecraft.net https://fill.papermc.io https://api.papermc.io https://piston-meta.mojang.com https://launchermeta.mojang.com https://meta.fabricmc.net https://files.minecraftforge.net https://maven.minecraftforge.net https://api.purpurmc.org https://mod.mcimirror.top https://mod.tianpao.top https://admin.axlmc.org 'self' data: blob:",
"font-src": ["'self'", "data:", "https://cdn-raw.modrinth.com/fonts/"], "font-src": ["'self'", "data:", "https://cdn-raw.modrinth.com/fonts/"],
"img-src": "https: 'unsafe-inline' 'self' asset: http://asset.localhost http://textures.minecraft.net blob: data:", "img-src": "https: 'unsafe-inline' 'self' asset: http://asset.localhost http://textures.minecraft.net blob: data:",
"style-src": "'unsafe-inline' 'self'", "style-src": "'unsafe-inline' 'self'",
"script-src": "'self' 'unsafe-eval' 'wasm-unsafe-eval'", "script-src": "'self' 'unsafe-eval' 'wasm-unsafe-eval'",
"worker-src": "'self' blob:", "worker-src": "'self' blob:",
"frame-src": "https://www.youtube.com https://www.youtube-nocookie.com https://discord.com 'self' http://axolotl-skin.localhost axolotl-skin://localhost", "frame-src": "https://www.youtube.com https://www.youtube-nocookie.com https://discord.com 'self' http://axolotl-skin.localhost axolotl-skin://localhost",
"media-src": "'self' data: https://*.githubusercontent.com" "media-src": "'self' data: https://*.githubusercontent.com"
}, },
"csp": { "csp": {
"default-src": "'self' customprotocol: asset:", "default-src": "'self' customprotocol: asset:",
"connect-src": "ipc: http://ipc.localhost https://modrinth.com https://*.modrinth.com https://api.mclo.gs http://textures.minecraft.net https://textures.minecraft.net https://fill.papermc.io https://api.papermc.io https://piston-meta.mojang.com https://launchermeta.mojang.com https://meta.fabricmc.net https://files.minecraftforge.net https://maven.minecraftforge.net https://api.purpurmc.org https://mod.mcimirror.top https://mod.tianpao.top https://admin.axlmc.org 'self' data: blob:", "connect-src": "ipc: http://ipc.localhost https://modrinth.com https://*.modrinth.com https://api.mclo.gs http://textures.minecraft.net https://textures.minecraft.net https://fill.papermc.io https://api.papermc.io https://piston-meta.mojang.com https://launchermeta.mojang.com https://meta.fabricmc.net https://files.minecraftforge.net https://maven.minecraftforge.net https://api.purpurmc.org https://mod.mcimirror.top https://mod.tianpao.top https://admin.axlmc.org 'self' data: blob:",
"font-src": ["'self'", "data:", "https://cdn-raw.modrinth.com/fonts/"], "font-src": ["'self'", "data:", "https://cdn-raw.modrinth.com/fonts/"],
"img-src": "https: 'unsafe-inline' 'self' asset: http://asset.localhost http://textures.minecraft.net blob: data:", "img-src": "https: 'unsafe-inline' 'self' asset: http://asset.localhost http://textures.minecraft.net blob: data:",
"style-src": "'unsafe-inline' 'self'", "style-src": "'unsafe-inline' 'self'",
"script-src": "'self' 'unsafe-eval' 'wasm-unsafe-eval'", "script-src": "'self' 'unsafe-eval' 'wasm-unsafe-eval'",
"worker-src": "'self' blob:", "worker-src": "'self' blob:",
"frame-src": "https://www.youtube.com https://www.youtube-nocookie.com https://discord.com 'self' axolotl-skin://localhost http://axolotl-skin.localhost", "frame-src": "https://www.youtube.com https://www.youtube-nocookie.com https://discord.com 'self' axolotl-skin://localhost http://axolotl-skin.localhost",
"media-src": "'self' data: https://*.githubusercontent.com" "media-src": "'self' data: https://*.githubusercontent.com"
} }
} }
} }
} }

View File

@ -1,3 +1,3 @@
{ {
"mainBinaryName": "Axolotl Launcher" "mainBinaryName": "Starlight Launcher"
} }

View File

@ -1,25 +1,25 @@
{ {
"app": { "app": {
"windows": [ "windows": [
{ {
"titleBarStyle": "Overlay", "titleBarStyle": "Overlay",
"hiddenTitle": true, "hiddenTitle": true,
"fullscreen": false, "fullscreen": false,
"height": 800, "height": 800,
"resizable": true, "resizable": true,
"title": "Axolotl Launcher", "title": "Starlight Launcher",
"width": 1280, "width": 1280,
"minHeight": 700, "minHeight": 700,
"minWidth": 1100, "minWidth": 1100,
"visible": false, "visible": false,
"zoomHotkeysEnabled": false, "zoomHotkeysEnabled": false,
"decorations": true, "decorations": true,
"transparent": true, "transparent": true,
"trafficLightPosition": { "trafficLightPosition": {
"x": 15.0, "x": 15.0,
"y": 22.0 "y": 22.0
} }
} }
] ]
} }
} }