Sfoglia il codice sorgente

linux build without dist folder in zip

Thomas Buck 3 anni fa
parent
commit
b6a3f9af43
1 ha cambiato i file con 5 aggiunte e 4 eliminazioni
  1. 5
    4
      build_linux.sh

+ 5
- 4
build_linux.sh Vedi File

@@ -7,10 +7,11 @@ cp src/* build/linux/
7 7
 cp data/* build/linux/
8 8
 
9 9
 cd build/linux
10
-pyinstaller --noconfirm --onefile --add-data="octotray_icon.png:." octotray.py
10
+pyinstaller --noconfirm --onefile --name=OctoTray --add-data="octotray_icon.png:." octotray.py
11 11
 
12
-zip -r OctoTray_Linux.zip dist/*
12
+cd dist
13
+zip -r OctoTray_Linux.zip *
13 14
 
14
-cd ../..
15
+cd ../../..
15 16
 mkdir -p build/dist
16
-cp -r build/linux/OctoTray_Linux.zip build/dist
17
+cp -r build/linux/dist/OctoTray_Linux.zip build/dist

Loading…
Annulla
Salva