# sc-toolbox **Repository Path**: SC-SPM/sc-toolbox ## Basic Information - **Project Name**: sc-toolbox - **Description**: 生存战争pc版工具箱,管理游戏版本、管理/获取模组、服务器管理等工具 - **Primary Language**: TypeScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2024-09-18 - **Last Updated**: 2026-01-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## sc工具箱 ### 调试 > 准备:[Python](https://www.python.org/),[Node.js(>=v18)](https://nodejs.cn/) 1. 安装Python依赖 ```sh pip install PyQt5 pip install QtWebEngineWidgets ``` 1. 克隆仓库 ```sh git clone https://gitee.com/suancaixianyu/sc-toolbox.git ./sc-toolbox/ ``` 2. 安装依赖 ```sh cd sc-toolbox npm i -g yarn yarn ``` 3. 启动 ```sh # 启动页面 yarn dev # 启动tailwind yarn dev:css # 启动窗口 python app.py ``` 4. 使用控制台 修改app.py,添加代码 ``` python DEBUG_PORT = '5589' DEBUG_URL = 'http://127.0.0.1:%s' % DEBUG_PORT os.environ['QTWEBENGINE_REMOTE_DEBUGGING'] = DEBUG_PORT ``` 保存后重新启动 app.py ```sh python app.py ``` 控制台地址为 http://127.0.0.1:5589 ### 打包 1. 安装 pyinstaller ```sh pip install pyinstaller ``` 2. 执行打包 ```sh yarn build pyinstaller --noconsole --onefile --name "SChub" --icon="favicon.ico" --add-data "dist;dist" app.py ```