We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a32b40 commit ab331e1Copy full SHA for ab331e1
ideeplc/gui.spec
@@ -1,7 +1,7 @@
1
import os
2
import sys
3
from pathlib import Path
4
-project_root = Path(__file__).resolve().parent.parent
+project_root = Path(os.path.abspath(sys.argv[0])).parent.parent
5
sys.path.insert(0, str(project_root))
6
7
from PyInstaller.utils.hooks import collect_all, collect_data_files
0 commit comments