diff options
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | powerButtons.py | 2 | ||||
| -rw-r--r-- | powerButtons.spec | 39 |
3 files changed, 41 insertions, 2 deletions
@@ -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'], +) |
