Skip to content

Commit c302f81

Browse files
authored
Merge pull request #537 from ivanvc/update-download-instructions
Update README.md
2 parents 33690a2 + 164bba1 commit c302f81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Some branded applications are unfortunately not provided in AppImage format by t
1515
For applications for which there is already an existing [`.yml` recipe file](../../tree/master/recipes), you can simply use the name of the application (without `.yml`) as an argument. For example, to produce a Spotify AppImage, it is sufficient to do:
1616

1717
```
18-
wget -c https://github.com/$(wget -q https://github.com/AppImage/pkg2appimage/releases -O - | grep "pkg2appimage-.*-x86_64.AppImage" | head -n 1 | cut -d '"' -f 2)
18+
wget -c $(wget -q https://api.github.com/repos/AppImageCommunity/pkg2appimage/releases -O - | grep "pkg2appimage-.*-x86_64.AppImage" | grep browser_download_url | head -n 1 | cut -d '"' -f 4)
1919
chmod +x ./pkg2appimage-*.AppImage
2020
./pkg2appimage-*.AppImage Spotify
2121
```
@@ -25,7 +25,7 @@ chmod +x ./pkg2appimage-*.AppImage
2525
To build an AppImage from a local `.yml` recipe (e.g., during development):
2626

2727
```
28-
wget -c https://github.com/$(wget -q https://github.com/AppImage/pkg2appimage/releases -O - | grep "pkg2appimage-.*-x86_64.AppImage" | head -n 1 | cut -d '"' -f 2)
28+
wget -c $(wget -q https://api.github.com/repos/AppImageCommunity/pkg2appimage/releases -O - | grep "pkg2appimage-.*-x86_64.AppImage" | grep browser_download_url | head -n 1 | cut -d '"' -f 4)
2929
chmod +x ./pkg2appimage-*.AppImage
3030
./pkg2appimage-*.AppImage recipes/XXX.yml
3131
```

0 commit comments

Comments
 (0)