Skip to content

Commit

Permalink
2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
TeaM-TL committed Oct 22, 2019
1 parent 9d99f8c commit a9244ad
Show file tree
Hide file tree
Showing 5 changed files with 139 additions and 127 deletions.
12 changes: 8 additions & 4 deletions scripts/0_pyinstaler.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
@REM $Id: 0_pyinstaler 9 2019-08-30 14:28:33Z tlu $
@REM rm -rf __pycache__ build
cd ..
@pyinstaller --onefile src\fotokilof.py

@
@cd ..
rmdir build /S /Q
rmdir src/__pycache__
SET UPX=--upx-dir upx
SET UPX=
@pyinstaller --onefile %UPX% src\fotokilof.py
@pause
4 changes: 3 additions & 1 deletion scripts/0_pyinstaler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
cd ..
rm -rf __pycache__ build
#pyinstaller --onefile --windowed fotokilof.py
pyinstaller --onefile src/fotokilof.py
UPX="--upx-dir=upx"
UPX=
pyinstaller --onefile $UPX src/fotokilof.py
rm -rf build

Loading

0 comments on commit a9244ad

Please sign in to comment.