From 11dac9c3e86837f754f7b302ab30e0cd3b9f3215 Mon Sep 17 00:00:00 2001 From: thelamer Date: Sat, 15 Aug 2026 10:29:32 -0400 Subject: [PATCH] update github api parsing to use jq --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f99c7a5..8d6c461 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ RUN \ https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/flycast-logo.png && \ echo "**** install packages ****" && \ DOWNLOAD_URL=$(curl -sX GET "https://api.github.com/repos/flyinghead/flycast/releases/latest" \ - | awk -F '(": "|")' '/browser.*.AppImage/ {print $3}') && \ + | jq -r 'first(.assets[].browser_download_url | select(test("AppImage")))') && \ curl -o \ /tmp/fly.app -L \ "${DOWNLOAD_URL}" && \