feat: 后端添加电源操作逻辑
This commit is contained in:
@@ -11,7 +11,7 @@ export function setMainWindow(window: BrowserWindow) {
|
||||
mainWindow = window
|
||||
}
|
||||
|
||||
const gitDownloadUrl = 'http://221.236.27.82:10197/d/AUTO_MAA/git.zip'
|
||||
const gitDownloadUrl = 'https://download.auto-mas.top/d/AUTO_MAS/git.zip'
|
||||
|
||||
// 递归复制目录,包括文件和隐藏文件
|
||||
function copyDirSync(src: string, dest: string) {
|
||||
|
||||
@@ -68,7 +68,7 @@ async function installPip(pythonPath: string, appRoot: string): Promise<void> {
|
||||
console.log('pip未安装,开始安装...')
|
||||
|
||||
const getPipPath = path.join(pythonPath, 'get-pip.py')
|
||||
const getPipUrl = 'http://221.236.27.82:10197/d/AUTO_MAA/get-pip.py'
|
||||
const getPipUrl = 'https://download.auto-mas.top/d/AUTO_MAS/get-pip.py'
|
||||
|
||||
console.log(`Python可执行文件路径: ${pythonExe}`)
|
||||
console.log(`get-pip.py下载URL: ${getPipUrl}`)
|
||||
|
||||
Reference in New Issue
Block a user