refactor(electron): 重构 Git 和后端代码获取逻辑
- 优化 Git 安装过程,使用临时目录解压后移动到目标位置 - 重新设计后端代码获取逻辑,支持跳过环境安装 - 添加跳转至首页按钮,便于开发测试 - 修复 Python 依赖安装路径问题
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
<div class="header">
|
||||
<h1>AUTO MAA 初始化向导</h1>
|
||||
<p>欢迎使用 AUTO MAA,让我们来配置您的运行环境</p>
|
||||
<a-button size="large" type="primary" @click="skipToHome">跳转至首页,直接跳过环境安装(仅开发用)</a-button>
|
||||
</div>
|
||||
|
||||
<a-steps
|
||||
@@ -317,6 +318,10 @@ const allCompleted = computed(() =>
|
||||
pythonInstalled.value && gitInstalled.value && backendExists.value && dependenciesInstalled.value
|
||||
)
|
||||
|
||||
function skipToHome(){
|
||||
router.push('/home')
|
||||
}
|
||||
|
||||
// 主题设置相关
|
||||
function onThemeModeChange() {
|
||||
setThemeMode(selectedThemeMode.value)
|
||||
|
||||
Reference in New Issue
Block a user