Skip to content

Commit

Permalink
Add version for pyinstaller
Browse files Browse the repository at this point in the history
  • Loading branch information
mangoozt committed Oct 15, 2020
1 parent 8384066 commit 9d8bb92
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions VersionResource.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
VSVersionInfo(
ffi=FixedFileInfo(
filevers=(2, 0, 0, 0),
prodvers=(2, 0, 0, 0),
mask=0x3f,
flags=0x0,
OS=0x04,
fileType=0x01,
subtype=0x0,
date=(0, 0)
),
kids=[
StringFileInfo(
[
StringTable(
u'040904B0',
[StringStruct(u'FileDescription', u'KT Visualiser')])
]),
VarFileInfo([VarStruct(u'Translation', [1033, 1200])])
]
)
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


# For build:
# pyinstaller --onefile --icon=Icon.ico --noconsole app.py
# pyinstaller --onefile --icon=Icon.ico --noconsole app.py --version-file=VersionResource.txt


class ParamBar(QWidget):
Expand Down

0 comments on commit 9d8bb92

Please sign in to comment.