File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -43,15 +43,12 @@ jobs:
4343 shell : bash
4444 run : |
4545 if [[ "$RUNNER_OS" == "Windows" ]]; then
46- # На Windows символ ; интерпретируется как разделитель команд,
47- # поэтому заключаем весь параметр в кавычки
48- ADD_DATA='--add-data="icon.png;."'
46+ ADD_DATA="--add-data=icon.png;."
4947 else
50- # На Linux и macOS достаточно простого формата
51- ADD_DATA='--add-data=icon.png:.'
48+ ADD_DATA="--add-data=icon.png:."
5249 fi
5350 echo "Using ADD_DATA: $ADD_DATA"
54- pyinstaller --onefile --windowed --icon=icon.ico --name=KnigavuheDownloader $ADD_DATA main.py
51+ pyinstaller --onefile --windowed --icon=icon.ico --name=KnigavuheDownloader " $ADD_DATA" main.py
5552
5653 - name : Archive Build Artifacts
5754 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments