fix: add project-local iOpenPod/ fallback so /tmp cleanup won't break the app

This commit is contained in:
Maksim Totmin 2026-06-01 00:46:44 +07:00
parent e3666c8c64
commit 5ba346cc84
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -38,3 +38,4 @@ converted/
specs.md
*.AppImage
squashfs-root/
iOpenPod/

View File

@ -54,6 +54,7 @@ def _find_iop_root() -> str:
return os.path.dirname(parent)
fallbacks = [
os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "iOpenPod"),
"/tmp/iOpenPod",
os.path.join(os.path.expanduser("~"), "iOpenPod"),
]