added icon
Bi-Rabittoh andronacomarco@gmail.com
Wed, 06 Jul 2022 18:03:46 +0200
3 files changed,
3 insertions(+),
1 deletions(-)
M
patcher.py
→
patcher.py
@@ -62,7 +62,7 @@ def run(self):
self.mainwindow.mainloop() def on_browse_button(self): - fn = askopenfilename(filetypes=[(Constants.VAR_FILEPICKER, '*.gba')]) + fn = askopenfilename(filetypes=[(Constants.VAR_FILEPICKER, '*.gba')], initialdir='.') self.browse_path.set(fn) def on_change_preset(self, *arg):@@ -91,6 +91,7 @@ return
root = tkinter.Tk() root.title(Constants.VAR_WINDOW_TITLE) + root.iconbitmap(os.path.join(Constants.PATH_TOOLS, 'icon.ico')) root.resizable(False, False) app = PatcherApp(root) app.run()
M
patcher.spec
→
patcher.spec
@@ -41,4 +41,5 @@ argv_emulation=False,
target_arch=None, codesign_identity=None, entitlements_file=None, + icon='tools'+os.sep+'icon.ico', )