feat(appimage): download lune version from env var

This commit is contained in:
Erica Marigold 2025-05-01 07:58:03 +01:00 committed by GitHub
parent e1e3ceccc2
commit c4e197cf59
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -2,11 +2,9 @@ app: lune
ingredients:
script:
- dl_uri=$(curl "https://api.github.com/repos/filiptibell/lune/releases/latest" | grep -E "https.*lune-.*linux-$(uname -m).zip" | cut -d '"' -f4)
- wget $dl_uri
- wget "https://github.com/lune-org/lune/releases/download/v$LUNE_VERSION/lune-$LUNE_VERSION-linux-x86_64.zip"
- unzip lune-*.zip
script:
- cp -r ../lune ./usr/bin
- cat > lune.desktop <<EOF