Browse Source

linux build without dist folder in zip

Thomas Buck 3 years ago
parent
commit
b6a3f9af43
1 changed files with 5 additions and 4 deletions
  1. 5
    4
      build_linux.sh

+ 5
- 4
build_linux.sh View 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…
Cancel
Save