Skip to content

Commit ab331e1

Browse files
committed
Update gui.spec
1 parent 8a32b40 commit ab331e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ideeplc/gui.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import os
22
import sys
33
from pathlib import Path
4-
project_root = Path(__file__).resolve().parent.parent
4+
project_root = Path(os.path.abspath(sys.argv[0])).parent.parent
55
sys.path.insert(0, str(project_root))
66

77
from PyInstaller.utils.hooks import collect_all, collect_data_files

0 commit comments

Comments
 (0)