From aaaa3d6d8cf41b2de461cd4510d18e5cc8e60ec8 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Wed, 22 Jan 2025 22:16:29 -0500 Subject: fix prep script, path to openssl and logging --- main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'main.py') diff --git a/main.py b/main.py index e2c4c3b..f26d320 100644 --- a/main.py +++ b/main.py @@ -89,11 +89,14 @@ class Plugin: fgmod_path = Path("/home/deck/fgmod") fgmod_path.mkdir(parents=True, exist_ok=True) + decky.logger.info(f"Script output:\n{process.stdout}") + decky.logger.error(f"Script errors:\n{process.stderr}") + if "All done!" not in process.stdout: decky.logger.error("Installation did not complete successfully") return { "status": "error", - "message": "Installation did not complete successfully" + "message": process.stdout + process.stderr } return { -- cgit v1.2.3