parent
3b30afea29
commit
6f74ffc265
|
@ -207,6 +207,10 @@ def assembleErrorMessage(fatal=0, banTime=0, inventoryVector='', errorText=''):
|
||||||
|
|
||||||
def lookupExeFolder():
|
def lookupExeFolder():
|
||||||
if frozen:
|
if frozen:
|
||||||
|
if frozen == "macosx_app":
|
||||||
|
# targetdir/Bitmessage.app/Contents/MacOS/Bitmessage
|
||||||
|
exeFolder = path.dirname(path.dirname(path.dirname(path.dirname(sys.executable)))) + path.sep
|
||||||
|
else:
|
||||||
exeFolder = path.dirname(sys.executable) + path.sep
|
exeFolder = path.dirname(sys.executable) + path.sep
|
||||||
elif __file__:
|
elif __file__:
|
||||||
exeFolder = path.dirname(__file__) + path.sep
|
exeFolder = path.dirname(__file__) + path.sep
|
||||||
|
|
Reference in New Issue
Block a user