Checking the executable basename sort of works, at least for Windows, since Windows always happens to use exactly this approach. However, the official pyinstaller documentation suggests a very different approach: https://pyinstaller.org/en/stable/runtime-information.html This approach is more robust since it works on any OS, and in particular it allows me to test the PyInstaller bundle functionality on Linux, even though we don't officially distribute it as such.pull/11659/head
parent
e66b07e6fb
commit
c39ee881a1
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue