aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2026-06-21 15:47:53 +0100
committerjwansek <eddie.atten.ea29@gmail.com>2026-06-21 15:47:53 +0100
commitd475d1abc250644f47b7c7dadb7b6932ead71ec9 (patch)
treedf9c42a544193fa6dfa715fab21a45c963bb85a0
parent07ce4cca57d4d9d1a6438fb998e53dc38de1d9a9 (diff)
downloadHomelabPowerButtons-d475d1abc250644f47b7c7dadb7b6932ead71ec9.tar.gz
HomelabPowerButtons-d475d1abc250644f47b7c7dadb7b6932ead71ec9.zip
Appended the .spec file coz im a silly-billy and forgot it
-rw-r--r--.gitignore2
-rw-r--r--powerButtons.py2
-rw-r--r--powerButtons.spec39
3 files changed, 41 insertions, 2 deletions
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'],
+)