From 06ae3ea593d4af5379307c2383e113000883db45 Mon Sep 17 00:00:00 2001 From: Johan Pauwels Date: Fri, 11 Sep 2020 00:21:30 +0100 Subject: [PATCH] Use program_name instead of script file name in macOS menu --- gooey/gui/application.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gooey/gui/application.py b/gooey/gui/application.py index 90187de..d7e44ec 100644 --- a/gooey/gui/application.py +++ b/gooey/gui/application.py @@ -24,6 +24,8 @@ def run(build_spec): def build_app(build_spec): app = wx.App(False) + # use actual program name instead of script file name in macOS menu + app.SetAppDisplayName(build_spec['program_name']) i18n.load(build_spec['language_dir'], build_spec['language'], build_spec['encoding']) imagesPaths = image_repository.loadImages(build_spec['image_dir'])