summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2025-01-22 23:24:03 -0500
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2025-01-22 23:24:03 -0500
commit3fdf564138e09500c54ed9b3b6f100dfd005efe3 (patch)
tree0269c8ffc4e6bfa5989b690363fed859f3c9afce /main.py
parentbce981b1e7dad5da84197eb4357658eb5fdd5ad0 (diff)
downloadDecky-Framegen-3fdf564138e09500c54ed9b3b6f100dfd005efe3.tar.gz
Decky-Framegen-3fdf564138e09500c54ed9b3b6f100dfd005efe3.zip
add installation path detection on plugin open
Diffstat (limited to 'main.py')
-rw-r--r--main.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/main.py b/main.py
index e340429..1111c53 100644
--- a/main.py
+++ b/main.py
@@ -121,4 +121,11 @@ class Plugin:
return {
"status": "error",
"message": str(e)
- } \ No newline at end of file
+ }
+
+ async def check_fgmod_path(self) -> dict:
+ path = "/home/deck/fgmod/"
+ exists = os.path.exists(path)
+ return {
+ "exists": exists
+ } \ No newline at end of file