Skip to content

Commit 129015c

Browse files
authored
Merge pull request #750 from ivan-hc/main
sync
2 parents 9cbc6f6 + 2b41e98 commit 129015c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

programs/x86_64/plexamp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ chmod a+x /opt/$APP/remove
1616
mkdir tmp
1717
cd ./tmp
1818

19-
version=$(curl -Ls https://www.plex.tv/plexamp/#downloads | grep -Eo "(http|https)://[a-zA-Z0-9./?=_%:-]*" | sort -u | grep -i appimage)
19+
version=$(curl -Ls https://raw.githubusercontent.com/flathub/com.plexamp.Plexamp/master/com.plexamp.Plexamp.yaml | grep -Eo "(http|https)://[a-zA-Z0-9./?=_%:-]*" | sort -u | grep -i appimage)
2020
wget $version
2121
echo "$version" >> /opt/$APP/version
2222
cd ..
@@ -32,7 +32,7 @@ cat >> /opt/$APP/AM-updater << 'EOF'
3232
#!/usr/bin/env bash
3333
APP=plexamp
3434
version0=$(cat /opt/$APP/version)
35-
version=$(curl -Ls https://www.plex.tv/plexamp/#downloads | grep -Eo "(http|https)://[a-zA-Z0-9./?=_%:-]*" | sort -u | grep -i appimage)
35+
version=$(curl -Ls https://raw.githubusercontent.com/flathub/com.plexamp.Plexamp/master/com.plexamp.Plexamp.yaml | grep -Eo "(http|https)://[a-zA-Z0-9./?=_%:-]*" | sort -u | grep -i appimage)
3636
if [ $version = $version0 ]; then
3737
echo "Update not needed!"
3838
else

0 commit comments

Comments
 (0)