Refact. build.py, skip portable packing (#7264)

ci and build.py do the packing.

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2024-02-26 02:20:37 +08:00
committed by GitHub
parent 7b8e983412
commit 1b99d28c9b
2 changed files with 12 additions and 3 deletions

View File

@@ -107,7 +107,7 @@ jobs:
shell: bash
- name: Build rustdesk
run: python3 .\build.py --portable --hwcodec --flutter --gpucodec
run: python3 .\build.py --portable --hwcodec --flutter --gpucodec --skip-portable-pack
- name: find Runner.res
# Windows: find Runner.res (compiled from ./flutter/windows/runner/Runner.rc), copy to ./Runner.res
@@ -141,6 +141,7 @@ jobs:
if: env.UPLOAD_ARTIFACT == 'true'
run: |
pushd ./libs/portable
pip3 install -r requirements.txt
python3 ./generate.py -f ../../flutter/build/windows/x64/runner/Release/ -o . -e ../../flutter/build/windows/x64/runner/Release/rustdesk.exe
popd
mkdir -p ./SignOutput