From 143380fd2a6778079580a1beabd3d4bd28ecab84 Mon Sep 17 00:00:00 2001 From: d10sfan Date: Wed, 24 Jan 2024 20:21:32 -0600 Subject: [PATCH] max - Fix extract --- engines/max/assets/run-max.sh | 1 + metadata/packagessniper_v2.json | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/engines/max/assets/run-max.sh b/engines/max/assets/run-max.sh index b5608e273..3acfbdb5d 100755 --- a/engines/max/assets/run-max.sh +++ b/engines/max/assets/run-max.sh @@ -1,4 +1,5 @@ #!/bin/bash +cd max export LD_LIBRARY_PATH="lib:$LD_LIBRARY_PATH" ./max "$@" diff --git a/metadata/packagessniper_v2.json b/metadata/packagessniper_v2.json index 75aa8ff10..a9354cb75 100644 --- a/metadata/packagessniper_v2.json +++ b/metadata/packagessniper_v2.json @@ -8396,7 +8396,13 @@ "file": "max-615250-1.tar.xz" } ], - "command": "./run-max.sh", + "download_config": [ + { + "extract_location": "./max", + "download_name": "max" + } + ], + "command": "./max/run-max.sh", "engine_name": "M.A.X.", "cloudNotAvailable": true, "app_id": "615250" @@ -10276,4 +10282,4 @@ "value": "Save Format Not Compatible" } ] -} \ No newline at end of file +}