File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ printf '\n%s' "rm -f /usr/local/share/applications/$APP-AM.desktop" >> ../remove
1212chmod a+x ../remove || exit 1
1313
1414# DOWNLOAD AND PREPARE THE APP, $version is also used for updates
15- version=$( curl -Ls https://api.github.com/repos/anyproto/anytype-ts/releases | sed ' s/[()",{} ]/\n/g' | grep -oi " https.*mage$" | grep -vi " i386\|i686\|aarch64\|arm64\|armv7l" | head -1)
15+ version=$( curl -Ls https://api.github.com/repos/anyproto/anytype-ts/releases | sed ' s/[()",{} ]/\n/g' | grep -oi " https.*mage$" | grep -vi " i386\|i686\|aarch64\|arm64\|armv7l\|alpha\|beta\|candidate\|rc\|nightly " | head -1)
1616wget " $version " || exit 1
1717# Keep this space in sync with other installation scripts
1818# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
3333APP=anytype
3434SITE="anyproto/anytype-ts"
3535version0=$(cat "/opt/$APP/version")
36- version=$(curl -Ls https://api.github.com/repos/anyproto/anytype-ts/releases | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -vi "i386\|i686\|aarch64\|arm64\|armv7l" | head -1)
36+ version=$(curl -Ls https://api.github.com/repos/anyproto/anytype-ts/releases | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -vi "i386\|i686\|aarch64\|arm64\|armv7l\|alpha\|beta\|candidate\|rc\|nightly " | head -1)
3737[ -n "$version" ] || { echo "Error getting link"; exit 1; }
3838if command -v appimageupdatetool >/dev/null 2>&1; then
3939 cd "/opt/$APP" || exit 1
You can’t perform that action at this time.
0 commit comments