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>
<dict>
<key>CFBundleURLName</key>
<string>AxolotlLauncher</string>
<string>StarlightLauncher</string>
<key>CFBundleURLSchemes</key>
<array>
<string>axolotl</string>
<string>starlight</string>
</array>
</dict>
</array>

View File

@ -842,7 +842,7 @@ FunctionEnd
!include "{{this}}"
{{/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 axlStart ${LANG_ENGLISH} "Start"
LangString axlOptionsTitle ${LANG_ENGLISH} "Installation settings"
@ -852,7 +852,7 @@ LangString axlResourceDirectoryDescription ${LANG_ENGLISH} "Stores game instance
LangString axlBrowse ${LANG_ENGLISH} "Browse..."
LangString axlSelectInstallDirectory ${LANG_ENGLISH} "Select the program installation location"
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 axlInstallButton ${LANG_ENGLISH} "Install"
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 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 axlResourceDirectoryNotWritable ${LANG_ENGLISH} "Axolotl cannot write to this application directory. Choose another location or change its permissions."
LangString axlFinishTitle ${LANG_ENGLISH} "Axolotl Launcher is installed"
LangString axlResourceDirectoryNotWritable ${LANG_ENGLISH} "Starlight cannot write to this application directory. Choose another location or change its permissions."
LangString axlFinishTitle ${LANG_ENGLISH} "Starlight Launcher is installed"
LangString axlFinishText ${LANG_ENGLISH} "Everything is ready. Your application directory is:$\r$\n$ResourceDir"
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 axlStart ${LANG_SIMPCHINESE} "开始"
LangString axlOptionsTitle ${LANG_SIMPCHINESE} "安装设置"
@ -875,7 +875,7 @@ LangString axlResourceDirectoryDescription ${LANG_SIMPCHINESE} "用于保存游
LangString axlBrowse ${LANG_SIMPCHINESE} "浏览..."
LangString axlSelectInstallDirectory ${LANG_SIMPCHINESE} "选择程序安装位置"
LangString axlSelectResourceDirectory ${LANG_SIMPCHINESE} "选择应用目录"
LangString axlExistingDirectoryNotice ${LANG_SIMPCHINESE} "此目录中已有文件,Axolotl 会保留这些内容。"
LangString axlExistingDirectoryNotice ${LANG_SIMPCHINESE} "此目录中已有文件,Starlight 会保留这些内容。"
LangString axlExistingInstallDirectoryPreserved ${LANG_SIMPCHINESE} "将保留现有应用目录。之后仍可在“设置 > 资源管理”中修改。"
LangString axlInstallButton ${LANG_SIMPCHINESE} "安装"
LangString axlBack ${LANG_SIMPCHINESE} "上一步"
@ -883,8 +883,8 @@ LangString axlInstallDirectoryInvalid ${LANG_SIMPCHINESE} "请选择有效的绝
LangString axlResourceDirectoryAbsolute ${LANG_SIMPCHINESE} "请选择有效的绝对应用目录。"
LangString axlResourceDirectoryRoot ${LANG_SIMPCHINESE} "不能将磁盘或网络共享根目录直接用作应用目录。"
LangString axlResourceDirectoryInsideInstall ${LANG_SIMPCHINESE} "应用目录必须与程序安装位置分开。"
LangString axlResourceDirectoryNotWritable ${LANG_SIMPCHINESE} "Axolotl 无法写入该应用目录,请更换位置或调整目录权限。"
LangString axlFinishTitle ${LANG_SIMPCHINESE} "Axolotl Launcher 已安装"
LangString axlResourceDirectoryNotWritable ${LANG_SIMPCHINESE} "Starlight 无法写入该应用目录,请更换位置或调整目录权限。"
LangString axlFinishTitle ${LANG_SIMPCHINESE} "Starlight Launcher 已安装"
LangString axlFinishText ${LANG_SIMPCHINESE} "一切准备就绪。当前应用目录:$\r$\n$ResourceDir"
LangString axlFinishButton ${LANG_SIMPCHINESE} "完成"

View File

@ -1,136 +1,135 @@
{
"$schema": "https://schema.tauri.app/config/2",
"build": {
"beforeDevCommand": "pnpm turbo run dev --filter=@modrinth/app-frontend",
"beforeBuildCommand": "pnpm turbo run build --filter=@modrinth/app-frontend",
"frontendDist": "../app-frontend/dist",
"devUrl": "http://localhost:5201"
},
"bundle": {
"active": true,
"category": "Game",
"copyright": "",
"targets": "all",
"externalBin": [],
"resources": ["resources/blockbench-skin"],
"icon": [
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico",
"icons/AxolotlAssets.car"
],
"windows": {
"nsis": {
"installMode": "currentUser",
"installerHooks": "./nsis/hooks.nsi"
}
},
"longDescription": "",
"macOS": {
"entitlements": "App.entitlements",
"exceptionDomain": "",
"frameworks": [],
"providerShortName": null,
"signingIdentity": null,
"dmg": {
"windowSize": {
"width": 661,
"height": 432
},
"appPosition": {
"x": 188,
"y": 212
},
"applicationFolderPosition": {
"x": 475,
"y": 212
}
}
},
"shortDescription": "",
"linux": {
"deb": {
"depends": ["libwebkit2gtk-4.1-0", "libgtk-3-0", "libayatana-appindicator3-1"]
}
},
"fileAssociations": [
{
"ext": ["mrpack"],
"mimeType": "application/x-modrinth-modpack+zip"
}
]
},
"productName": "Axolotl Launcher",
"version": "../app-frontend/package.json",
"mainBinaryName": "Axolotl Launcher",
"identifier": "red.ghs.axolotl",
"plugins": {
"deep-link": {
"desktop": {
"schemes": ["axolotl"]
},
"mobile": []
}
},
"app": {
"withGlobalTauri": false,
"macOSPrivateApi": true,
"windows": [
{
"titleBarStyle": "Overlay",
"hiddenTitle": true,
"fullscreen": false,
"height": 800,
"resizable": true,
"title": "Axolotl Launcher",
"label": "main",
"width": 1280,
"minHeight": 700,
"minWidth": 1100,
"visible": false,
"zoomHotkeysEnabled": false,
"decorations": false,
"transparent": true
}
],
"security": {
"assetProtocol": {
"scope": [
"$APPDATA/backgrounds/*",
"$APPDATA/caches/icons/*",
"$APPCONFIG/caches/icons/*",
"$CONFIG/caches/icons/*",
"$APPDATA/profiles/*/saves/*/icon.png",
"$APPCONFIG/profiles/*/saves/*/icon.png",
"$CONFIG/profiles/*/saves/*/icon.png"
],
"enable": true
},
"capabilities": ["core", "plugins"],
"devCsp": {
"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:",
"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:",
"style-src": "'unsafe-inline' 'self'",
"script-src": "'self' 'unsafe-eval' 'wasm-unsafe-eval'",
"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",
"media-src": "'self' data: https://*.githubusercontent.com"
},
"csp": {
"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:",
"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:",
"style-src": "'unsafe-inline' 'self'",
"script-src": "'self' 'unsafe-eval' 'wasm-unsafe-eval'",
"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",
"media-src": "'self' data: https://*.githubusercontent.com"
}
}
}
"$schema": "https://schema.tauri.app/config/2",
"build": {
"beforeDevCommand": "pnpm turbo run dev --filter=@modrinth/app-frontend",
"beforeBuildCommand": "pnpm turbo run build --filter=@modrinth/app-frontend",
"frontendDist": "../app-frontend/dist",
"devUrl": "http://localhost:5201"
},
"bundle": {
"active": true,
"category": "Game",
"copyright": "",
"targets": "all",
"externalBin": [],
"resources": ["resources/blockbench-skin"],
"icon": [
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico",
"icons/AxolotlAssets.car"
],
"windows": {
"nsis": {
"installMode": "currentUser",
"installerHooks": "./nsis/hooks.nsi"
}
},
"longDescription": "",
"macOS": {
"entitlements": "App.entitlements",
"exceptionDomain": "",
"frameworks": [],
"providerShortName": null,
"signingIdentity": null,
"dmg": {
"windowSize": {
"width": 661,
"height": 432
},
"appPosition": {
"x": 188,
"y": 212
},
"applicationFolderPosition": {
"x": 475,
"y": 212
}
}
},
"shortDescription": "",
"linux": {
"deb": {
"depends": ["libwebkit2gtk-4.1-0", "libgtk-3-0", "libayatana-appindicator3-1"]
}
},
"fileAssociations": [
{
"ext": ["mrpack"],
"mimeType": "application/x-modrinth-modpack+zip"
}
]
},
"productName": "Starlight Launcher",
"version": "../app-frontend/package.json",
"mainBinaryName": "Starlight Launcher",
"identifier": "cool.starlight.launcher",
"plugins": {
"deep-link": {
"desktop": {
"schemes": ["starlight"]
},
"mobile": []
}
},
"app": {
"withGlobalTauri": false,
"macOSPrivateApi": true,
"windows": [
{
"titleBarStyle": "Overlay",
"hiddenTitle": true,
"fullscreen": false,
"height": 800,
"resizable": true,
"title": "Axolotl Launcher",
"label": "main",
"width": 1280,
"minHeight": 700,
"minWidth": 1100,
"visible": false,
"zoomHotkeysEnabled": false,
"decorations": false,
"transparent": true
}
],
"security": {
"assetProtocol": {
"scope": [
"$APPDATA/backgrounds/*",
"$APPDATA/caches/icons/*",
"$APPCONFIG/caches/icons/*",
"$CONFIG/caches/icons/*",
"$APPDATA/profiles/*/saves/*/icon.png",
"$APPCONFIG/profiles/*/saves/*/icon.png",
"$CONFIG/profiles/*/saves/*/icon.png"
],
"enable": true
},
"capabilities": ["core", "plugins"],
"devCsp": {
"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:",
"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:",
"style-src": "'unsafe-inline' 'self'",
"script-src": "'self' 'unsafe-eval' 'wasm-unsafe-eval'",
"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",
"media-src": "'self' data: https://*.githubusercontent.com"
},
"csp": {
"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:",
"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:",
"style-src": "'unsafe-inline' 'self'",
"script-src": "'self' 'unsafe-eval' 'wasm-unsafe-eval'",
"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",
"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": {
"windows": [
{
"titleBarStyle": "Overlay",
"hiddenTitle": true,
"fullscreen": false,
"height": 800,
"resizable": true,
"title": "Axolotl Launcher",
"width": 1280,
"minHeight": 700,
"minWidth": 1100,
"visible": false,
"zoomHotkeysEnabled": false,
"decorations": true,
"transparent": true,
"trafficLightPosition": {
"x": 15.0,
"y": 22.0
}
}
]
}
"app": {
"windows": [
{
"titleBarStyle": "Overlay",
"hiddenTitle": true,
"fullscreen": false,
"height": 800,
"resizable": true,
"title": "Starlight Launcher",
"width": 1280,
"minHeight": 700,
"minWidth": 1100,
"visible": false,
"zoomHotkeysEnabled": false,
"decorations": true,
"transparent": true,
"trafficLightPosition": {
"x": 15.0,
"y": 22.0
}
}
]
}
}