Browse Source

Use program_name instead of script file name in macOS menu

1.0.5-release-candidate
Johan Pauwels 4 years ago
committed by Chris
parent
commit
06ae3ea593
1 changed files with 2 additions and 0 deletions
  1. 2
      gooey/gui/application.py

2
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'])

Loading…
Cancel
Save