Ver código fonte

linux build without dist folder in zip

Thomas Buck 3 anos atrás
pai
commit
b6a3f9af43
1 arquivos alterados com 5 adições e 4 exclusões
  1. 5
    4
      build_linux.sh

+ 5
- 4
build_linux.sh Ver arquivo

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

Carregando…
Cancelar
Salvar