Skip to content

Commit 5fa57d4

Browse files
committed
fix(installer): extract Python core to user directory and update configs
- Extract python_core.7z to APPDATA during installation - Clean up existing python_core before extraction - Update scheduler default config to conf.yaml - Bump version to 1.1.8
1 parent 9a7c575 commit 5fa57d4

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

build.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ REM 4.4. Package and Release
284284
REM ============================================
285285

286286
echo Compressing python_core directory...
287+
if exist "%SCRIPT_DIR%\%ARCHIVE_DIST_DIR%\python_core.7z" del /f /q "%SCRIPT_DIR%\%ARCHIVE_DIST_DIR%\python_core.7z"
287288
cd /d "%PYTHON_CORE_DIR%"
288289
"%SEVENZ_EXE%" a -t7z "%SCRIPT_DIR%\%ARCHIVE_DIST_DIR%\python_core.7z" "*" >nul
289290
cd /d "%SCRIPT_DIR%"

engine/servers/astronverse-scheduler/src/astronverse/scheduler/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
def main():
66
parser = argparse.ArgumentParser(description="{} service".format("scheduler"))
7-
parser.add_argument("--conf", type=str, default="../resources/conf.json", help="配置文件")
7+
parser.add_argument("--conf", type=str, default="../resources/conf.yaml", help="配置文件")
88
parser.add_argument("--venv", type=str, help="配置文件")
99
parser.add_argument("--stop", type=bool, default=False, help="关闭服务")
1010
args = parser.parse_args()

frontend/packages/electron-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "astron-rpa",
3-
"version": "1.1.6",
3+
"version": "1.1.8",
44
"homepage": "https://www.iflyrpa.com",
55
"main": "./out/main/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)