all repos — m12-patcher @ b9ba83b93f227a992b3d7027bfe8fb602e85561c

added icon
Bi-Rabittoh andronacomarco@gmail.com
Wed, 06 Jul 2022 18:03:46 +0200
commit

b9ba83b93f227a992b3d7027bfe8fb602e85561c

parent

400aec49d6e545b8892141998a171faeed28bcac

3 files changed, 3 insertions(+), 1 deletions(-)

jump to
M patcher.pypatcher.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.specpatcher.spec

@@ -41,4 +41,5 @@ argv_emulation=False,

target_arch=None, codesign_identity=None, entitlements_file=None, + icon='tools'+os.sep+'icon.ico', )