From ffe9cd8afe9643c8d7b5e38c39fbe00847ed08e4 Mon Sep 17 00:00:00 2001 From: marios8543 Date: Thu, 26 Oct 2023 23:25:00 +0300 Subject: revert decky_plugin pyinstaller to previous version and fix sys path --- backend/src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend') diff --git a/backend/src/main.py b/backend/src/main.py index 83a4b997..ca6eef58 100644 --- a/backend/src/main.py +++ b/backend/src/main.py @@ -182,7 +182,7 @@ def main(): logger.warning(f"decky is running as an unprivileged user, this is not officially supported and may cause issues") # Append the loader's plugin path to the recognized python paths - sys.path.append(path.join(path.dirname(__file__), "plugin")) + sys.path.append(path.join(path.dirname(__file__), "..", "plugin")) # Append the system and user python paths sys.path.extend(get_system_pythonpaths()) -- cgit v1.2.3