From 3979a806b0036884b8828e9792809ccba7a3c47a Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Wed, 27 Nov 2024 14:07:48 +0100 Subject: [PATCH] Enable windows build --- Makefile | 3 +++ sideband.spec | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5b8cd31..6f5ed59 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,9 @@ preparewheel: build_wheel: python3 setup.py sdist bdist_wheel +build_win_exe: + python -m PyInstaller sideband.spec --noconfirm + release: build_wheel apk fetchapk upload: diff --git a/sideband.spec b/sideband.spec index eb01ad4..f0395be 100644 --- a/sideband.spec +++ b/sideband.spec @@ -42,12 +42,13 @@ exe = EXE( a.scripts, [], exclude_binaries=True, - name='main', + name='Sideband', + icon="sbapp\\assets\\icon.png", debug=False, bootloader_ignore_signals=False, strip=False, upx=True, - console=True, + console=False, disable_windowed_traceback=False, argv_emulation=False, target_arch=None,