change:修改部分axolotl为starlight

(不过怎么这么多)
This commit is contained in:
2026-09-12 23:29:28 +08:00
parent 3c48ba77c9
commit ceda000578
86 changed files with 15828 additions and 710 deletions

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Axolotl Launcher</title>
<title>Starlight Launcher</title>
<style>
:root {
color-scheme: dark;
@ -916,8 +916,8 @@
<header class="titlebar">
<div class="titlebar-left" data-drag-region>
<div class="titlebar-brand">
<img class="titlebar-logo" id="product-logo" alt="Axolotl Launcher" />
<div class="titlebar-name">Axolotl Launcher</div>
<img class="titlebar-logo" id="product-logo" alt="Starlight Launcher" />
<div class="titlebar-name">Starlight Launcher</div>
</div>
</div>
@ -957,7 +957,7 @@
<div class="screen-content-wrapper" style="align-items: center; text-align: center">
<h1 data-i18n="welcomeTitle">Your Minecraft worlds, in one place.</h1>
<p class="lead" data-i18n="welcomeCopy">
Install Axolotl Launcher, a focused home for instances, content, saves, and Java
Install Starlight Launcher, a focused home for instances, content, saves, and Java
runtimes.
</p>
@ -1089,7 +1089,7 @@
<div class="progress-heading">
<div>
<h2 id="progress-title" data-i18n="progressPreparing">
Preparing Axolotl Launcher
Preparing Starlight Launcher
</h2>
</div>
<div class="progress-value"><span id="progress-value">4</span>%</div>
@ -1127,14 +1127,14 @@
<section class="screen" data-screen="complete">
<div class="screen-content-wrapper" style="align-items: center; text-align: center">
<div class="complete-brand">
<img id="complete-logo" alt="Axolotl Launcher" class="complete-logo" />
<img id="complete-logo" alt="Starlight Launcher" class="complete-logo" />
<div class="complete-badge">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3.5">
<path d="M5 12l4 4L19 7" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</div>
</div>
<h2 data-i18n="completeTitle">Axolotl Launcher is ready</h2>
<h2 data-i18n="completeTitle">Starlight Launcher is ready</h2>
<p class="lead" style="margin-top: 16px" data-i18n="completeCopy">
Installation completed successfully. Your new launcher is ready to use.
</p>
@ -1170,7 +1170,7 @@
language: 'zhCn',
version: 'v2.0.0 (Preview)',
logoDataUrl: '../../app/icons/128x128.png',
installDir: 'C:\\Program Files\\Axolotl Launcher',
installDir: 'C:\\Program Files\\Starlight Launcher',
resourceDir: 'C:\\Users\\Admin\\AppData\\Roaming\\axolotl-launcher',
freshInstall: false,
}
@ -1179,7 +1179,7 @@
const copy = {
en: {
installer: 'Installer',
windowTitle: 'Axolotl Launcher Setup',
windowTitle: 'Starlight Launcher Setup',
minimize: 'Minimize',
browse: 'Browse',
stepWelcome: 'Welcome',
@ -1190,7 +1190,7 @@
scope: 'Windows 10/11 · Current user',
ready: 'Ready to install',
welcomeTitle: 'Your last next launcher.',
welcomeCopy: 'Install Axolotl Launcher and start a whole new Minecraft experience.',
welcomeCopy: 'Install Starlight Launcher and start a whole new Minecraft experience.',
packageVersion: 'Version',
packageArch: 'Architecture',
packageScope: 'Scope',
@ -1199,7 +1199,7 @@
configureTitle: 'Choose installation locations',
configureCopy:
'Keep the defaults or choose separate locations for the program and its data.',
updateTitle: 'Update Axolotl Launcher',
updateTitle: 'Update Starlight Launcher',
updateCopy:
'The launcher will be updated in place and your application data will be preserved.',
programLocation: 'Program location',
@ -1211,13 +1211,13 @@
desktopShortcut: 'Desktop shortcut',
launchAfter: 'Launch when complete',
installingEyebrow: 'Installation in progress',
progressPreparing: 'Preparing Axolotl Launcher',
progressPreparing: 'Preparing Starlight Launcher',
progressRuntime: 'Checking WebView2 runtime',
progressFiles: 'Installing launcher files',
progressIntegrations: 'Creating Windows integrations',
progressFinalizing: 'Finishing setup',
progressWait: 'This usually takes less than a minute.',
completeTitle: 'Axolotl Launcher is ready',
completeTitle: 'Starlight Launcher is ready',
completeCopy: 'Installation completed successfully. Your new launcher is ready to use.',
footerWelcome: 'No account or game files are changed during setup.',
footerConfigure: 'Both locations can be changed later.',
@ -1230,21 +1230,21 @@
update: 'Update',
retry: 'Retry',
finish: 'Finish',
launch: 'Launch Axolotl Launcher',
launch: 'Launch Starlight Launcher',
close: 'Close',
absolutePath: 'Choose an absolute Windows path.',
driveRoot: 'A drive root cannot be used as the application directory.',
insideInstall: 'The application directory must be separate from the program location.',
notWritable: 'Axolotl cannot write to this directory.',
notWritable: 'Starlight cannot write to this directory.',
installFailed: 'Installation failed',
installFailedDetail:
'The installation core returned an error. Check that Axolotl Launcher is closed, then retry.',
'The installation core returned an error. Check that Starlight Launcher is closed, then retry.',
launchFailed:
'Installation completed, but Axolotl Launcher could not be started. Try again or close this installer.',
'Installation completed, but Starlight Launcher could not be started. Try again or close this installer.',
},
zhCn: {
installer: 'Windows 安装程序',
windowTitle: 'Axolotl Launcher 安装程序',
windowTitle: 'Starlight Launcher 安装程序',
minimize: '最小化',
browse: '浏览',
stepWelcome: '欢迎',
@ -1255,7 +1255,7 @@
scope: 'Windows 10/11 · 当前用户',
ready: '准备安装',
welcomeTitle: '你的最后一款启动器',
welcomeCopy: '安装 Axolotl Launcher开启Minecraft全新体验',
welcomeCopy: '安装 Starlight Launcher开启Minecraft全新体验',
packageVersion: '版本',
packageArch: '架构',
packageScope: '安装范围',
@ -1263,7 +1263,7 @@
packageEngine: '界面引擎',
configureTitle: '选择安装位置',
configureCopy: '可以直接使用默认值,也可以把程序与游戏数据放到不同位置。',
updateTitle: '更新 Axolotl Launcher',
updateTitle: '更新 Starlight Launcher',
updateCopy: '启动器会原位更新,并完整保留现有应用数据。',
programLocation: '程序安装位置',
programHint: '启动器程序文件',
@ -1273,13 +1273,13 @@
desktopShortcut: '创建桌面快捷方式',
launchAfter: '完成后启动',
installingEyebrow: '正在安装',
progressPreparing: '正在准备 Axolotl Launcher',
progressPreparing: '正在准备 Starlight Launcher',
progressRuntime: '正在检查 WebView2 运行时',
progressFiles: '正在安装启动器文件',
progressIntegrations: '正在创建 Windows 集成',
progressFinalizing: '正在完成安装',
progressWait: '通常不到一分钟即可完成。',
completeTitle: 'Axolotl Launcher 已就绪',
completeTitle: 'Starlight Launcher 已就绪',
completeCopy: '安装已成功完成,现在可以开始使用你的全新启动器。',
footerWelcome: '安装过程不会修改账号或现有游戏文件。',
footerConfigure: '这两个位置之后仍可调整。',
@ -1292,15 +1292,15 @@
update: '更新',
retry: '重试',
finish: '完成',
launch: '启动 Axolotl Launcher',
launch: '启动 Starlight Launcher',
close: '关闭',
absolutePath: '请选择有效的 Windows 绝对路径。',
driveRoot: '不能把磁盘根目录直接用作应用目录。',
insideInstall: '应用目录必须与程序安装位置分开。',
notWritable: 'Axolotl 无法写入此目录。',
notWritable: 'Starlight 无法写入此目录。',
installFailed: '安装失败',
installFailedDetail: '安装核心返回了错误。请确认 Axolotl Launcher 已关闭,然后重试。',
launchFailed: '安装已完成,但无法启动 Axolotl Launcher。请重试或关闭安装程序。',
installFailedDetail: '安装核心返回了错误。请确认 Starlight Launcher 已关闭,然后重试。',
launchFailed: '安装已完成,但无法启动 Starlight Launcher。请重试或关闭安装程序。',
},
}

View File

@ -33,7 +33,8 @@ use wry::{NewWindowResponse, WebView, WebViewBuilder, http::Request};
const HTML: &str = include_str!("installer.html");
const LOGO: &[u8] = include_bytes!("../../app/icons/128x128.png");
const MAIN_BINARY_NAME: &str = "Axolotl Launcher.exe";
const MAIN_BINARY_NAME: &str = "Starlight Launcher.exe";
#[derive(Clone, Debug, Serialize)]
#[serde(rename_all = "camelCase")]
@ -147,7 +148,8 @@ pub fn run() -> Result<(), String> {
let arguments = parse_arguments()?;
let event_loop = EventLoopBuilder::<UserEvent>::with_user_event().build();
let window = WindowBuilder::new()
.with_title("Axolotl Launcher")
.with_title("Starlight Launcher")
.with_inner_size(LogicalSize::new(940.0, 620.0))
.with_min_inner_size(LogicalSize::new(940.0, 620.0))
.with_max_inner_size(LogicalSize::new(940.0, 620.0))