added script path detection

prepare for PyInstaller
This commit is contained in:
SG
2025-06-14 17:37:33 +03:00
parent 0b31079654
commit ed9d1dade2
6 changed files with 20 additions and 23 deletions

3
test.py Normal file
View File

@@ -0,0 +1,3 @@
from pathlib import Path
app_dir = Path(__file__).resolve().parent
print(app_dir, type(app_dir))