From 06034ee7fc7d37596490d07854da2f952fc9beb3 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Tue, 10 Dec 2024 10:27:40 +0900 Subject: [PATCH] POST_BUILD_CHECK: running the commands inside the flatpak --- automation_tools/post_build_check.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automation_tools/post_build_check.sh b/automation_tools/post_build_check.sh index a1639048..1a7a31a1 100755 --- a/automation_tools/post_build_check.sh +++ b/automation_tools/post_build_check.sh @@ -9,14 +9,14 @@ LOG_FILE="$HOME/check.log" > "$LOG_FILE" # Extract launch commands using jq -commands=($(jq -r '.emulator | to_entries[] | .value.launch' /app/retrodeck/config/retrodeck/reference_lists//features.json)) +commands=($(jq -r '.emulator | to_entries[] | .value.launch' /app/retrodeck/config/retrodeck/reference_lists/features.json)) # Timeout duration in seconds TIMEOUT=5 # Function to run command with timeout run_and_check() { - local cmd="$1" + local cmd="flatpak run net.retrodeck.retrodeck $1" # Verify command exists if ! command -v "$cmd" &> /dev/null; then