mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-03-12 04:07:01 -04:00
macOS: make the .app able to start up
Launching the app in a Terminal window works (by typing 'PySolFC.app/Contents/MacOS/PySolFC') but clicking in Finder window fails. emulate_shell_environment might fix this per https://github.com/pyinstaller/pyinstaller/issues/5109#issuecomment-808033464
This commit is contained in:
parent
8f2e47cfd1
commit
dd0efc9428
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ RESOURCES = []
|
|||
FRAMEWORKS = [SOLVER_LIB_PATH] if SOLVER_LIB_PATH else []
|
||||
# with argv_emulation=True, the app window is not shown when launched
|
||||
OPTIONS = dict(argv_emulation=False,
|
||||
emulate_shell_environment=True,
|
||||
plist=PLIST,
|
||||
iconfile=ICON_FILE,
|
||||
resources=RESOURCES,
|
||||
|
|
Loading…
Add table
Reference in a new issue