File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ chmod a+x /opt/$APP/remove
16
16
mkdir tmp
17
17
cd ./tmp
18
18
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)
20
20
wget $version
21
21
echo " $version " >> /opt/$APP /version
22
22
cd ..
@@ -32,7 +32,7 @@ cat >> /opt/$APP/AM-updater << 'EOF'
32
32
#!/usr/bin/env bash
33
33
APP=plexamp
34
34
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)
36
36
if [ $version = $version0 ]; then
37
37
echo "Update not needed!"
38
38
else
You can’t perform that action at this time.
0 commit comments