diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-01-22 23:24:03 -0500 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-01-22 23:24:03 -0500 |
| commit | 3fdf564138e09500c54ed9b3b6f100dfd005efe3 (patch) | |
| tree | 0269c8ffc4e6bfa5989b690363fed859f3c9afce /main.py | |
| parent | bce981b1e7dad5da84197eb4357658eb5fdd5ad0 (diff) | |
| download | Decky-Framegen-3fdf564138e09500c54ed9b3b6f100dfd005efe3.tar.gz Decky-Framegen-3fdf564138e09500c54ed9b3b6f100dfd005efe3.zip | |
add installation path detection on plugin open
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |
