ソースを参照

linux build without dist folder in zip

Thomas Buck 3年前
コミット
b6a3f9af43
1個のファイルの変更5行の追加4行の削除
  1. 5
    4
      build_linux.sh

+ 5
- 4
build_linux.sh ファイルの表示

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

読み込み中…
キャンセル
保存