Note that you potentially have to re-sign the app bundle after doing this!
The path might contain the MacOS user name, or folder structures from the developer's computer, especially when using python executables from different locations on their system.
Is there a better way to avoid this path leak into the Info.plist file? Also, is this path actually necessary or used by anything after distribution?
After freezing the app, I noticed that the
Info.plist
might contain the path to the python executable used by py2app.:Here's a sample
My way of fixing this is using the following
plutil
command:Note that you potentially have to re-sign the app bundle after doing this!
The path might contain the MacOS user name, or folder structures from the developer's computer, especially when using python executables from different locations on their system.
Is there a better way to avoid this path leak into the
Info.plist
file? Also, is this path actually necessary or used by anything after distribution?Cheers!