Skip to content

Commit

Permalink
Update for MakeDistro
Browse files Browse the repository at this point in the history
  • Loading branch information
machinewrapped committed Nov 27, 2023
1 parent 87ec161 commit 9cba66a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions gui-subtrans.spec
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# -*- mode: python ; coding: utf-8 -*-


block_cipher = None


a = Analysis(
['gui-subtrans.py'],
pathex=[],
Expand All @@ -14,12 +11,9 @@ a = Analysis(
hooksconfig={},
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False,
)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
pyz = PYZ(a.pure)

exe = EXE(
pyz,
Expand All @@ -41,7 +35,6 @@ exe = EXE(
coll = COLLECT(
exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
Expand Down
2 changes: 1 addition & 1 deletion makedistro.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
call envsubtrans/scripts/activate
pip install -r requirements.txt
pip install --upgrade -r requirements.txt
pyinstaller --add-data "theme/*;theme/" --add-data "instructions*;." --add-data "LICENSE;." --add-data "gui-subtrans.ico;." gui-subtrans.py

0 comments on commit 9cba66a

Please sign in to comment.