Show More
@@ -907,6 +907,10 b' def hgexecutable():' | |||||
907 | if hg: |
|
907 | if hg: | |
908 | _sethgexecutable(hg) |
|
908 | _sethgexecutable(hg) | |
909 | elif mainfrozen(): |
|
909 | elif mainfrozen(): | |
|
910 | if getattr(sys, 'frozen', None) == 'macosx_app': | |||
|
911 | # Env variable set by py2app | |||
|
912 | _sethgexecutable(os.environ['EXECUTABLEPATH']) | |||
|
913 | else: | |||
910 | _sethgexecutable(sys.executable) |
|
914 | _sethgexecutable(sys.executable) | |
911 | elif os.path.basename(getattr(mainmod, '__file__', '')) == 'hg': |
|
915 | elif os.path.basename(getattr(mainmod, '__file__', '')) == 'hg': | |
912 | _sethgexecutable(mainmod.__file__) |
|
916 | _sethgexecutable(mainmod.__file__) |
General Comments 0
You need to be logged in to leave comments.
Login now