Skip to content
Snippets Groups Projects
Commit 6bba46ef authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

MAINT-7751: Add shbang line to macOS trampoline script.

This evidently makes all the difference as to whether the app is considered
launchable.
parent 54eb04ee
No related branches found
No related tags found
No related merge requests found
...@@ -906,8 +906,10 @@ def construct(self): ...@@ -906,8 +906,10 @@ def construct(self):
# our nested launcher_app # our nested launcher_app
with self.prefix(dst="MacOS"): with self.prefix(dst="MacOS"):
toplevel_MacOS = self.get_dst_prefix() toplevel_MacOS = self.get_dst_prefix()
trampoline = self.put_in_file( trampoline = self.put_in_file("""\
'open "%s"\n' % #!/bin/bash
open "%s"
""" %
# up one directory from MacOS to its sibling Resources directory # up one directory from MacOS to its sibling Resources directory
os.path.join('$(dirname "$0")', os.pardir, 'Resources', launcher_app), os.path.join('$(dirname "$0")', os.pardir, 'Resources', launcher_app),
"SL_Launcher", # write this file "SL_Launcher", # write this file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment