mirror of
https://github.com/GSManagerXZ/GameServerManager.git
synced 2026-06-01 10:29:37 +08:00
修复
This commit is contained in:
@@ -138,11 +138,6 @@ const InstanceManagerPage: React.FC = () => {
|
||||
setAvailableConfigs(response.data)
|
||||
} catch (error) {
|
||||
console.error('获取配置列表失败:', error)
|
||||
addNotification({
|
||||
type: 'error',
|
||||
title: '获取失败',
|
||||
message: '获取配置列表失败'
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -250,7 +250,7 @@ node server/index.js`
|
||||
const installPythonDepsScript = `@echo off
|
||||
echo 正在安装Python依赖...
|
||||
cd server\Python
|
||||
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host pypi.tuna.tsinghua.edu.cn
|
||||
pip install -r server/Python/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host pypi.tuna.tsinghua.edu.cn
|
||||
echo Python依赖安装完成!
|
||||
pause`
|
||||
|
||||
@@ -263,7 +263,7 @@ pause`
|
||||
const installPythonDepsShScript = `#!/bin/bash
|
||||
echo "正在安装Python依赖..."
|
||||
cd server/src/Python
|
||||
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host pypi.tuna.tsinghua.edu.cn
|
||||
pip install -r server/Python/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host pypi.tuna.tsinghua.edu.cn
|
||||
echo "Python依赖安装完成!"`
|
||||
|
||||
await fs.writeFile(
|
||||
|
||||
Reference in New Issue
Block a user