From d475d1abc250644f47b7c7dadb7b6932ead71ec9 Mon Sep 17 00:00:00 2001 From: jwansek Date: Sun, 21 Jun 2026 15:47:53 +0100 Subject: Appended the .spec file coz im a silly-billy and forgot it --- .gitignore | 2 +- powerButtons.py | 2 +- powerButtons.spec | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 powerButtons.spec diff --git a/.gitignore b/.gitignore index 61cf178..3595e9b 100644 --- a/.gitignore +++ b/.gitignore @@ -32,7 +32,7 @@ MANIFEST # Usually these files are written by a python script from a template # before PyInstaller builds the exe, so as to inject date/other infos into it. *.manifest -*.spec +# *.spec # Installer logs pip-log.txt diff --git a/powerButtons.py b/powerButtons.py index ef40343..abb4b21 100644 --- a/powerButtons.py +++ b/powerButtons.py @@ -48,7 +48,7 @@ class App(tk.Tk): print("moshi moshi") - self.title("Power Buttons v3.1") + self.title("Power Buttons v3.2") self.protocol("WM_DELETE_WINDOW", self._on_closing) if platform.system() == "Windows": self.iconbitmap(os.path.join(os.path.dirname(__file__), "Assets", "icon.ico")) diff --git a/powerButtons.spec b/powerButtons.spec new file mode 100644 index 0000000..be2e317 --- /dev/null +++ b/powerButtons.spec @@ -0,0 +1,39 @@ +# -*- mode: python ; coding: utf-8 -*- + + +a = Analysis( + ['powerButtons.py'], + pathex=[], + binaries=[], + datas=[('Assets/*.*', 'Assets/'), ('omada-api/*.*', 'omada-api/'), ('omada-api/omada/*.*', 'omada-api/omada/')], + hiddenimports=[], + hookspath=[], + hooksconfig={}, + runtime_hooks=[], + excludes=[], + noarchive=False, + optimize=0, +) +pyz = PYZ(a.pure) + +exe = EXE( + pyz, + a.scripts, + a.binaries, + a.datas, + [], + name='powerButtons', + debug=False, + bootloader_ignore_signals=False, + strip=False, + upx=True, + upx_exclude=[], + runtime_tmpdir=None, + console=False, + disable_windowed_traceback=False, + argv_emulation=False, + target_arch=None, + codesign_identity=None, + entitlements_file=None, + icon=['Assets\\icon.ico'], +) -- cgit v1.2.3