fix: 完成AUTO-MAS改名

This commit is contained in:
DLmaster361
2025-09-10 23:07:52 +08:00
parent ab48b91f26
commit fd8f602da2
52 changed files with 272 additions and 295 deletions

View File

@@ -1,4 +1,4 @@
# AUTO_MAA Frontend
# AUTO-MAS Frontend
基于 Vue 3 + TypeScript + Ant Design Vue + Electron 的桌面应用程序。

View File

@@ -203,7 +203,7 @@ function createTray() {
])
tray.setContextMenu(contextMenu)
tray.setToolTip('AUTO_MAA')
tray.setToolTip('AUTO-MAS')
// 双击托盘图标显示/隐藏窗口
tray.on('double-click', () => {
@@ -545,7 +545,7 @@ ipcMain.handle('download-git', async () => {
ipcMain.handle(
'clone-backend',
async (_event, repoUrl = 'https://github.com/DLmaster361/AUTO_MAA.git') => {
async (_event, repoUrl = 'https://github.com/AUTO-MAS-Project/AUTO-MAS.git') => {
const appRoot = getAppRoot()
return cloneBackend(appRoot, repoUrl)
}
@@ -553,7 +553,7 @@ ipcMain.handle(
ipcMain.handle(
'update-backend',
async (_event, repoUrl = 'https://github.com/DLmaster361/AUTO_MAA.git') => {
async (_event, repoUrl = 'https://github.com/AUTO-MAS-Project/AUTO-MAS.git') => {
const appRoot = getAppRoot()
return cloneBackend(appRoot, repoUrl) // 使用相同的逻辑会自动判断是pull还是clone
}

View File

@@ -187,7 +187,7 @@ export async function downloadGit(appRoot: string): Promise<{ success: boolean;
// 克隆后端代码(替换原有核心逻辑)
export async function cloneBackend(
appRoot: string,
repoUrl = 'https://github.com/DLmaster361/AUTO_MAA.git'
repoUrl = 'https://github.com/AUTO-MAS-Project/AUTO-MAS.git'
): Promise<{
success: boolean
error?: string

View File

@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>AUTO_MAA</title>
<title>AUTO-MAS</title>
</head>
<body>
<div id="app"></div>

View File

@@ -18,8 +18,8 @@
"extraMetadata": {
"env": "prod"
},
"appId": "xyz.automaa.frontend",
"productName": "AUTO_MAA",
"appId": "top.auto-mas.frontend",
"productName": "AUTO-MAS",
"files": [
"dist/**",
"dist-electron/**",
@@ -30,8 +30,8 @@
"publish": [
{
"provider": "github",
"owner": "DLmaster_361",
"repo": "AUTO_MAA"
"owner": "AUTO-MAS-Project",
"repo": "AUTO-MAS"
}
],
"extraResources": [
@@ -44,14 +44,14 @@
{ "target": "zip", "arch": ["x64"] }
],
"icon": "public/AUTO-MAS.ico",
"artifactName": "AUTO_MAA-Setup-${version}-${arch}.${ext}"
"artifactName": "AUTO-MAS-Setup-${version}-${arch}.${ext}"
},
"nsis": {
"oneClick": false,
"perMachine": true,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"shortcutName": "AUTO_MAA",
"shortcutName": "AUTO-MAS",
"differentialPackage": true
}
},

View File

@@ -22,7 +22,7 @@
alt="MAA"
class="script-logo"
/>
<img v-else src="@/assets/AUTO-MAS.ico" alt="AUTO_MAA" class="script-logo" />
<img v-else src="@/assets/AUTO-MAS.ico" alt="AUTO-MAS" class="script-logo" />
</div>
<div class="script-details">
<h3 class="script-name">{{ script.name }}</h3>

View File

@@ -2,7 +2,7 @@
<div class="auto-mode">
<div class="header">
<img src="/src/assets/AUTO-MAS.ico" alt="logo" class="logo" />
<a-typography-title :level="1">AUTO_MAA</a-typography-title>
<a-typography-title :level="1">AUTO-MAS</a-typography-title>
</div>
<div class="tip">
<a-typography-title :level="3">检测到环境已配置正在启动后端~~</a-typography-title>

View File

@@ -1,9 +1,9 @@
<template>
<div class="manual-mode">
<div class="header">
<!-- <a-typography-title>AUTO_MAA 初始化向导</a-typography-title>-->
<!-- <a-typography-title>AUTO-MAS 初始化向导</a-typography-title>-->
<a-typography-title :level="3"
>欢迎使用 AUTO_MAA让我们来配置您的运行环境</a-typography-title
>欢迎使用 AUTO-MAS让我们来配置您的运行环境</a-typography-title
>
<!-- <div class="header-actions">-->

View File

@@ -13,7 +13,7 @@
alt="MAA"
class="breadcrumb-logo"
/>
<img v-else src="@/assets/AUTO-MAS.ico" alt="AUTO_MAA" class="breadcrumb-logo" />
<img v-else src="@/assets/AUTO-MAS.ico" alt="AUTO-MAS" class="breadcrumb-logo" />
编辑脚本
</div>
</a-breadcrumb-item>
@@ -580,7 +580,7 @@
<a-col :span="8">
<a-form-item>
<template #label>
<a-tooltip title="是否由AUTO_MAA管理游戏/模拟器进程">
<a-tooltip title="是否由AUTO-MAS管理游戏/模拟器进程">
<span class="form-label">
启用游戏相关功能
<QuestionCircleOutlined class="help-icon" />

View File

@@ -73,7 +73,7 @@
<a-radio-button value="General" class="type-option">
<div class="type-content">
<div class="type-logo-container">
<img src="@/assets/AUTO-MAS.ico" alt="AUTO_MAA" class="type-logo" />
<img src="@/assets/AUTO-MAS.ico" alt="AUTO-MAS" class="type-logo" />
</div>
<div class="type-info">
<div class="type-title">通用脚本</div>

View File

@@ -961,7 +961,7 @@ onMounted(() => {
<div>
Mirror酱CDK是使用Mirror源进行高速下载的凭证可前往
<a
href="https://mirrorchyan.com/zh/get-start?source=auto_maa-setting"
href="https://mirrorchyan.com/zh/get-start?source=auto-mas-setting"
target="_blank"
class="tooltip-link"
@click.stop
@@ -1150,7 +1150,7 @@ onMounted(() => {
<h4>GitHub仓库</h4>
<p>查看源代码提交issue和贡献</p>
<a
href="https://github.com/DLmaster361/AUTO_MAA"
href="https://github.com/AUTO-MAS-Project/AUTO-MAS"
target="_blank"
class="link-button"
>