diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-12-13 13:54:15 +0100 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-12-16 16:01:06 +0100 |
commit | 476d82e6a9fa19e8d4be141b3575738c6859ae82 (patch) | |
tree | 872aba0400f97f92a5e259f2f1ed8fd2da46ed5c /make.bat | |
parent | e91f6c5e2cee39bb49d3a3ddeddc66fc0268b51e (diff) |
Add make.bat for an easier building process in Windows. This
script generates ogclient.exe and ogclient-systray binaries in
a ./dist directory.
Add ogclient-systray program. This python program polls the
existence of the ogclient process and shows a systray if the
ogclient service is active.
Update utils/create_version_file.py to generate information for
the systray binary.
Diffstat (limited to 'make.bat')
-rw-r--r-- | make.bat | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/make.bat b/make.bat new file mode 100644 index 0000000..ac38f04 --- /dev/null +++ b/make.bat @@ -0,0 +1,8 @@ +:: Create version_info.txt +python utils\create_version_file.py + +:: Build the service binary with clean +pyinstaller --onefile --noconsole --version-file=ogclient-version-info.txt --clean ogclient + +:: Build the systray binary with clean +pyinstaller --onefile --noconsole --version-file=systray-version-info.txt --clean systray\ogclient-systray |