python:systray
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
python:systray [2023/01/30 13:06] – Wulf Rajek | python:systray [2023/05/29 11:55] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 77: | Line 77: | ||
icon.run(run_call) | icon.run(run_call) | ||
+ | </ | ||
+ | |||
+ | Create version file using: | ||
+ | < | ||
+ | pip install pyinstaller_versionfile | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | import pyinstaller_versionfile | ||
+ | |||
+ | pyinstaller_versionfile.create_versionfile( | ||
+ | output_file=" | ||
+ | version=" | ||
+ | company_name=" | ||
+ | file_description=" | ||
+ | internal_name=" | ||
+ | legal_copyright=" | ||
+ | original_filename=" | ||
+ | product_name=" | ||
+ | ) | ||
</ | </ | ||
Line 82: | Line 102: | ||
< | < | ||
wine pyinstaller.exe --onefile --icon=systrayicon.ico --add-data " | wine pyinstaller.exe --onefile --icon=systrayicon.ico --add-data " | ||
+ | </ | ||
+ | |||
+ | Pyinstaller options: | ||
+ | < | ||
+ | --onefile: Creates a single file. Synonyms: -F | ||
+ | --windowed: Ensures that no console is opened during execution. Synonyms: -w and --noconsole | ||
+ | --add-data: adds data to the file using " | ||
+ | --version: adds exe file version information | ||
+ | --icon: adds windows application icon file | ||
</ | </ |
python/systray.1675083982.txt.gz · Last modified: 2023/05/29 11:53 (external edit)