mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 14:11:29 +00:00
Switch to gtk-mac-bundler and jhbuild for building OS X app bundle
This commit is contained in:
@@ -139,7 +139,7 @@ from zenmapCore.Name import APP_NAME
|
||||
# http://mail.python.org/pipermail/pythonmac-sig/2004-November/012121.html.
|
||||
def get_prefix():
|
||||
frozen = getattr(sys, "frozen", None)
|
||||
if frozen == "macosx_app":
|
||||
if frozen == "macosx_app" or "Zenmap.app" in sys.executable:
|
||||
# A py2app .app bundle.
|
||||
return os.path.join(dirname(fs_dec(sys.executable)), "..", "Resources")
|
||||
elif frozen is not None:
|
||||
|
||||
Reference in New Issue
Block a user