Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync #732

Merged
merged 21 commits into from
Jun 27, 2024
Merged

Sync #732

Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add files via upload
ivan-hc authored Jun 27, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 7eb415d6cdf2b3cf15a1232f03d95c73947d0022
4 changes: 2 additions & 2 deletions programs/x86_64/gospel
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ chmod a+x /opt/$APP/remove
mkdir tmp
cd ./tmp

version=$(curl -Ls https://api.github.com/repos/ksharindam/gospel-pdf-viewer/releases | jq '.' | grep browser_download_url | grep -i x86_64 | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/ksharindam/gospel-pdf-viewer/releases | grep browser_download_url | grep -i x86_64 | grep -i appimage | cut -d '"' -f 4 | head -1)
wget $version
wget $version.zsync 2> /dev/null
echo "$version" >> /opt/$APP/version
@@ -36,7 +36,7 @@ cat >> /opt/$APP/AM-updater << 'EOF'
APP=gospel
SITE="ksharindam/gospel-pdf-viewer"
version0=$(cat /opt/$APP/version)
version=$(curl -Ls https://api.github.com/repos/ksharindam/gospel-pdf-viewer/releases | jq '.' | grep browser_download_url | grep -i x86_64 | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/ksharindam/gospel-pdf-viewer/releases | grep browser_download_url | grep -i x86_64 | grep -i appimage | cut -d '"' -f 4 | head -1)
if test -f /opt/$APP/*.zsync; then
mkdir /opt/$APP/tmp
cd /opt/$APP/tmp
4 changes: 2 additions & 2 deletions programs/x86_64/gpgfrontend
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ chmod a+x /opt/$APP/remove
mkdir tmp
cd ./tmp

version=$(curl -Ls https://api.github.com/repos/$REPO/releases/latest | jq '.' | grep -w -v i386 | grep -w -v i686 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases/latest | grep -w -v i386 | grep -w -v i686 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
wget $version
echo "$version" >> /opt/$APP/version
cd ..
@@ -33,7 +33,7 @@ cat >> /opt/$APP/AM-updater << 'EOF'
APP=gpgfrontend
REPO="saturneric/GpgFrontend"
version0=$(cat /opt/$APP/version)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases/latest | jq '.' | grep -w -v i386 | grep -w -v i686 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases/latest | grep -w -v i386 | grep -w -v i686 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
if [ $version = $version0 ]; then
echo "Update not needed!"
else
4 changes: 2 additions & 2 deletions programs/x86_64/gping
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ printf "#!/bin/sh\nset -e\nrm -f /usr/local/bin/btm\nrm -R -f /opt/$APP" > "/opt
chmod a+x "/opt/$APP/remove"

# DOWNLOAD AND PREPARE THE APP, $version is also used for updates
version=$(curl -Ls https://api.github.com/repos/"$SITE"/releases | jq '.' | sed 's/[()",{}]/ /g; s/ /\n/g' | grep -oi 'https.*x86_64.*unknown.*linux.*musl.*gz$' | head -1)
version=$(curl -Ls https://api.github.com/repos/"$SITE"/releases | sed 's/[()",{}]/ /g; s/ /\n/g' | grep -oi 'https.*x86_64.*unknown.*linux.*musl.*gz$' | head -1)
wget "$version" || exit 1
tar fx ./*tar*
cd ..
@@ -30,7 +30,7 @@ set -u
APP=gping
SITE="orf/gping"
version0=$(cat "/opt/$APP/version")
version=$(curl -Ls https://api.github.com/repos/"$SITE"/releases | jq '.' | sed 's/[()",{}]/ /g; s/ /\n/g' | grep -oi 'https.*x86_64.*unknown.*linux.*musl.*gz$' | head -1)
version=$(curl -Ls https://api.github.com/repos/"$SITE"/releases | sed 's/[()",{}]/ /g; s/ /\n/g' | grep -oi 'https.*x86_64.*unknown.*linux.*musl.*gz$' | head -1)
[ -n "$version" ] || { echo "Error getting link"; exit 1; }
if [ "$version" != "$version0" ]; then
mkdir "/opt/$APP/tmp" && cd "/opt/$APP/tmp" || exit 1
4 changes: 2 additions & 2 deletions programs/x86_64/gpredict
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ chmod a+x /opt/$APP/remove
mkdir tmp
cd ./tmp

version=$(curl -Ls https://api.github.com/repos/$REPO/releases | jq '.' | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
wget $version
echo "$version" >> /opt/$APP/version
cd ..
@@ -33,7 +33,7 @@ cat >> /opt/$APP/AM-updater << 'EOF'
APP=gpredict
REPO="csete/gpredict"
version0=$(cat /opt/$APP/version)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | jq '.' | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
if [ $version = $version0 ]; then
echo "Update not needed!"
else
4 changes: 2 additions & 2 deletions programs/x86_64/gpt-anywhere
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ chmod a+x /opt/$APP/remove
mkdir tmp
cd ./tmp

version=$(curl -Ls https://api.github.com/repos/$REPO/releases | jq '.' | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
wget $version
echo "$version" >> /opt/$APP/version
cd ..
@@ -33,7 +33,7 @@ cat >> /opt/$APP/AM-updater << 'EOF'
APP=gpt-anywhere
REPO="JinayJain/gpt-anywhere"
version0=$(cat /opt/$APP/version)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | jq '.' | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
if [ $version = $version0 ]; then
echo "Update not needed!"
else
4 changes: 2 additions & 2 deletions programs/x86_64/gptfusion-appimage
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ chmod a+x /opt/$APP/remove
mkdir tmp
cd ./tmp

version=$(curl -Ls https://api.github.com/repos/$REPO/releases | jq '.' | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
wget $version
echo "$version" >> /opt/$APP/version
cd ..
@@ -33,7 +33,7 @@ cat >> /opt/$APP/AM-updater << 'EOF'
APP=gptfusion-appimage
REPO="lpdswing/GPTFusion"
version0=$(cat /opt/$APP/version)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | jq '.' | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
if [ $version = $version0 ]; then
echo "Update not needed!"
else
4 changes: 2 additions & 2 deletions programs/x86_64/gpupad
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ chmod a+x /opt/$APP/remove
mkdir tmp
cd ./tmp

version=$(curl -Ls https://api.github.com/repos/$REPO/releases | jq '.' | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
wget $version
echo "$version" >> /opt/$APP/version
cd ..
@@ -33,7 +33,7 @@ cat >> /opt/$APP/AM-updater << 'EOF'
APP=gpupad
REPO="houmain/gpupad"
version0=$(cat /opt/$APP/version)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | jq '.' | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
if [ $version = $version0 ]; then
echo "Update not needed!"
else
4 changes: 2 additions & 2 deletions programs/x86_64/gqrx
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ chmod a+x /opt/$APP/remove
mkdir tmp
cd ./tmp

version=$(curl -Ls https://api.github.com/repos/$REPO/releases/latest | jq '.' | grep -w -v i386 | grep -w -v i686 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases/latest | grep -w -v i386 | grep -w -v i686 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
wget $version
echo "$version" >> /opt/$APP/version
cd ..
@@ -33,7 +33,7 @@ cat >> /opt/$APP/AM-updater << 'EOF'
APP=gqrx
REPO="csete/gqrx"
version0=$(cat /opt/$APP/version)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases/latest | jq '.' | grep -w -v i386 | grep -w -v i686 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases/latest | grep -w -v i386 | grep -w -v i686 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
if [ $version = $version0 ]; then
echo "Update not needed!"
else
4 changes: 2 additions & 2 deletions programs/x86_64/gradestats
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ chmod a+x /opt/$APP/remove
mkdir tmp
cd ./tmp

version=$(curl -Ls https://api.github.com/repos/$REPO/releases | jq '.' | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
wget $version
echo "$version" >> /opt/$APP/version
cd ..
@@ -33,7 +33,7 @@ cat >> /opt/$APP/AM-updater << 'EOF'
APP=gradestats
REPO="nikolio/GradeStats"
version0=$(cat /opt/$APP/version)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | jq '.' | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
if [ $version = $version0 ]; then
echo "Update not needed!"
else
4 changes: 2 additions & 2 deletions programs/x86_64/granatier
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ chmod a+x /opt/$APP/remove
mkdir tmp
cd ./tmp

version=$(curl -Ls https://api.github.com/repos/$REPO/releases | jq '.' | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
wget $version
echo "$version" >> /opt/$APP/version
cd ..
@@ -40,7 +40,7 @@ cat >> /opt/$APP/AM-updater << 'EOF'
APP=kdegames
REPO="ivan-hc/KDE-games-suite-appimage"
version0=$(cat /opt/$APP/version)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | jq '.' | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
if [ $version = $version0 ]; then
echo "Update not needed!"
else
4 changes: 2 additions & 2 deletions programs/x86_64/graphql-playground
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ chmod a+x /opt/$APP/remove
mkdir tmp
cd ./tmp

version=$(curl -Ls https://api.github.com/repos/$REPO/releases | jq '.' | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
wget $version
echo "$version" >> /opt/$APP/version
cd ..
@@ -33,7 +33,7 @@ cat >> /opt/$APP/AM-updater << 'EOF'
APP=graphql-playground
REPO="graphcool/graphql-playground"
version0=$(cat /opt/$APP/version)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | jq '.' | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
if [ $version = $version0 ]; then
echo "Update not needed!"
else
4 changes: 2 additions & 2 deletions programs/x86_64/graviton
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ chmod a+x /opt/$APP/remove
mkdir tmp
cd ./tmp

version=$(curl -Ls https://api.github.com/repos/$REPO/releases | jq '.' | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
wget $version
echo "$version" >> /opt/$APP/version
cd ..
@@ -33,7 +33,7 @@ cat >> /opt/$APP/AM-updater << 'EOF'
APP=graviton
REPO="Graviton-Code-Editor/Graviton-App"
version0=$(cat /opt/$APP/version)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | jq '.' | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
if [ $version = $version0 ]; then
echo "Update not needed!"
else
4 changes: 2 additions & 2 deletions programs/x86_64/greenlight
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ chmod a+x /opt/$APP/remove
mkdir tmp
cd ./tmp

version=$(curl -Ls https://api.github.com/repos/unknownskl/greenlight/releases | jq '.' | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/unknownskl/greenlight/releases | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
wget $version
wget $version.zsync 2> /dev/null
echo "$version" >> /opt/$APP/version
@@ -36,7 +36,7 @@ cat >> /opt/$APP/AM-updater << 'EOF'
APP=greenlight
SITE="unknownskl/greenlight"
version0=$(cat /opt/$APP/version)
version=$(curl -Ls https://api.github.com/repos/unknownskl/greenlight/releases | jq '.' | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/unknownskl/greenlight/releases | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
if test -f /opt/$APP/*.zsync; then
mkdir /opt/$APP/tmp
cd /opt/$APP/tmp
4 changes: 2 additions & 2 deletions programs/x86_64/gridcoin-research
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ chmod a+x "/opt/$APP/remove"
# DOWNLOAD AND PREPARE THE APP
# $version is also used for updates

version=$(curl -Ls https://api.github.com/repos/gridcoin-community/Gridcoin-Research/releases | jq '.' | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/gridcoin-community/Gridcoin-Research/releases | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
wget "$version"
wget "$version.zsync" 2> /dev/null
echo "$version" >> /opt/$APP/version
@@ -37,7 +37,7 @@ APP=gridcoin-research
SITE="gridcoin-community/Gridcoin-Research"
if [ -z "$APP" ]; then exit 1; fi
version0=$(cat "/opt/$APP/version")
version=$(curl -Ls https://api.github.com/repos/gridcoin-community/Gridcoin-Research/releases | jq '.' | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/gridcoin-community/Gridcoin-Research/releases | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
if test -f "/opt/$APP/*.zsync"; then
mkdir "/opt/$APP/tmp"
cd "/opt/$APP/tmp" || exit 1
4 changes: 2 additions & 2 deletions programs/x86_64/gridea
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ chmod a+x /opt/$APP/remove
mkdir tmp
cd ./tmp

version=$(curl -Ls https://api.github.com/repos/$REPO/releases | jq '.' | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
wget $version
echo "$version" >> /opt/$APP/version
cd ..
@@ -33,7 +33,7 @@ cat >> /opt/$APP/AM-updater << 'EOF'
APP=gridea
REPO="getgridea/gridea"
version0=$(cat /opt/$APP/version)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | jq '.' | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
if [ $version = $version0 ]; then
echo "Update not needed!"
else
4 changes: 2 additions & 2 deletions programs/x86_64/gridplayer
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ chmod a+x /opt/$APP/remove
mkdir tmp
cd ./tmp

version=$(curl -Ls https://api.github.com/repos/$REPO/releases | jq '.' | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
wget $version
echo "$version" >> /opt/$APP/version
cd ..
@@ -33,7 +33,7 @@ cat >> /opt/$APP/AM-updater << 'EOF'
APP=gridplayer
REPO="vzhd1701/gridplayer"
version0=$(cat /opt/$APP/version)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | jq '.' | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
version=$(curl -Ls https://api.github.com/repos/$REPO/releases | grep -w -v i386 | grep -w -v i686 | grep -w -v aarch64 | grep -w -v arm64 | grep -w -v armv7l | grep browser_download_url | grep -i appimage | cut -d '"' -f 4 | head -1)
if [ $version = $version0 ]; then
echo "Update not needed!"
else
Loading