Bläddra i källkod

linux build without dist folder in zip

Thomas Buck 3 år sedan
förälder
incheckning
b6a3f9af43
1 ändrade filer med 5 tillägg och 4 borttagningar
  1. 5
    4
      build_linux.sh

+ 5
- 4
build_linux.sh Visa fil

@@ -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

Laddar…
Avbryt
Spara