fix: add project-local iOpenPod/ fallback so /tmp cleanup won't break the app
This commit is contained in:
parent
e3666c8c64
commit
5ba346cc84
1
.gitignore
vendored
1
.gitignore
vendored
@ -38,3 +38,4 @@ converted/
|
|||||||
specs.md
|
specs.md
|
||||||
*.AppImage
|
*.AppImage
|
||||||
squashfs-root/
|
squashfs-root/
|
||||||
|
iOpenPod/
|
||||||
|
|||||||
@ -54,6 +54,7 @@ def _find_iop_root() -> str:
|
|||||||
return os.path.dirname(parent)
|
return os.path.dirname(parent)
|
||||||
|
|
||||||
fallbacks = [
|
fallbacks = [
|
||||||
|
os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "iOpenPod"),
|
||||||
"/tmp/iOpenPod",
|
"/tmp/iOpenPod",
|
||||||
os.path.join(os.path.expanduser("~"), "iOpenPod"),
|
os.path.join(os.path.expanduser("~"), "iOpenPod"),
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user