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

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -1,11 +1,11 @@
pub const PRODUCT_NAME: &str = "Axolotl Launcher";
pub const SHORT_PRODUCT_NAME: &str = "Axolotl";
pub const WEBSITE: &str = "https://www.ghs.red";
pub const BUNDLE_IDENTIFIER: &str = "red.ghs.axolotl";
pub const DEEP_LINK_SCHEME: &str = "axolotl";
pub const PRODUCT_NAME: &str = "Starlight Launcher";
pub const SHORT_PRODUCT_NAME: &str = "Starlight";
pub const WEBSITE: &str = "https://skin.starlight.cool/";
pub const BUNDLE_IDENTIFIER: &str = "cool.starlight.launcher";
pub const DEEP_LINK_SCHEME: &str = "starlight";
pub fn user_agent(version: &str, os: &str) -> String {
format!("garbage-human-studio/axolotl/{version} ({os})")
format!("garbage-human-studio/starlight/{version} ({os})")
}
#[cfg(test)]
@ -16,7 +16,7 @@ mod tests {
fn user_agent_is_unique_and_contains_no_contact_information() {
let user_agent = user_agent("1.2.3", "windows");
assert_eq!(user_agent, "garbage-human-studio/axolotl/1.2.3 (windows)");
assert_eq!(user_agent, "garbage-human-studio/starlight/1.2.3 (windows)");
assert!(!user_agent.contains("ghs.red"));
assert!(!user_agent.contains("http"));
assert!(!user_agent.contains('@'));

View File

@ -73,7 +73,7 @@ const props = withDefaults(
const EMPTY_STATE_BUBBLES: Record<string, string[]> = {
server: [
' ______________________________________________________',
' / 欢迎使用 Axolotl 服务器! \\',
' / 欢迎使用 Starlight 服务器! \\',
'| 点击启动按钮即可启动服务器! |',
' \\______________________________________________________/',
],

View File

@ -258,7 +258,7 @@ const messages = defineMessages({
},
gameDirManaged: {
id: 'creation-flow.modal.custom-setup.game-dir.managed',
defaultMessage: 'Axolotl directory',
defaultMessage: 'Starlight directory',
},
nameLabel: {
id: 'creation-flow.modal.custom-setup.name.label',

View File

@ -444,7 +444,7 @@ const messages = defineMessages({
},
copyDesc: {
id: 'drop.symlink_method.copy_desc',
defaultMessage: 'Copy to Axolotl directory',
defaultMessage: 'Copy to Starlight directory',
},
symlinkTitle: {
id: 'drop.symlink_method.symlink_title',
@ -525,7 +525,7 @@ const messages = defineMessages({
},
statsCacheTooltip: {
id: 'drop.symlink_method.stats_cache_tooltip',
defaultMessage: 'Axolotl cache',
defaultMessage: 'Starlight cache',
},
statsLocal: {
id: 'drop.symlink_method.stats_local',

View File

@ -1173,7 +1173,7 @@
"defaultMessage": "Game directory"
},
"creation-flow.modal.custom-setup.game-dir.managed": {
"defaultMessage": "Axolotl directory"
"defaultMessage": "Starlight directory"
},
"creation-flow.modal.custom-setup.game-version-type.alpha": {
"defaultMessage": "April Fools"
@ -1437,7 +1437,7 @@
"defaultMessage": "Confirm"
},
"drop.symlink_method.copy_desc": {
"defaultMessage": "Copy to Axolotl directory"
"defaultMessage": "Copy to Starlight directory"
},
"drop.symlink_method.copy_title": {
"defaultMessage": "Copy files"
@ -1542,7 +1542,7 @@
"defaultMessage": "Cache"
},
"drop.symlink_method.stats_cache_tooltip": {
"defaultMessage": "Axolotl cache"
"defaultMessage": "Starlight cache"
},
"drop.symlink_method.stats_files": {
"defaultMessage": "{files} files"

View File

@ -684,7 +684,7 @@
"defaultMessage": "点击右上角「开始游戏」即可接收实时日志"
},
"console.empty.server-title": {
"defaultMessage": "欢迎使用 Axolotl 服务器!"
"defaultMessage": "欢迎使用 Starlight 服务器!"
},
"console.empty.server-description": {
"defaultMessage": "点击启动按钮即可启动服务器!"
@ -1149,7 +1149,7 @@
"defaultMessage": "游戏目录"
},
"creation-flow.modal.custom-setup.game-dir.managed": {
"defaultMessage": "Axolotl 目录"
"defaultMessage": "Starlight 目录"
},
"creation-flow.modal.custom-setup.game-version.load-failed": {
"defaultMessage": "游戏版本加载失败"
@ -4464,7 +4464,7 @@
"message": "复制文件"
},
"drop.symlink_method.copy_desc": {
"message": "复制到 Axolotl 目录"
"message": "复制到 Starlight 目录"
},
"drop.symlink_method.symlink_title": {
"message": "符号链接"
@ -4584,7 +4584,7 @@
"message": "缓存"
},
"drop.symlink_method.stats_cache_tooltip": {
"message": "Axolotl 缓存"
"message": "Starlight 缓存"
},
"drop.symlink_method.stats_local": {
"message": "复用"

View File

@ -3966,7 +3966,7 @@
"message": "複製檔案"
},
"drop.symlink_method.copy_desc": {
"message": "複製到 Axolotl 目錄"
"message": "複製到 Starlight 目錄"
},
"drop.symlink_method.symlink_title": {
"message": "符號連結"
@ -4464,7 +4464,7 @@
"message": "缓存"
},
"drop.symlink_method.stats_cache_tooltip": {
"message": "Axolotl 缓存"
"message": "Starlight 缓存"
},
"drop.symlink_method.stats_local": {
"message": "复用"