mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-05-03 17:43:46 +01:00
feat(appimage): download lune version from env var
This commit is contained in:
parent
e1e3ceccc2
commit
c4e197cf59
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue