Skip to content

Commit 49d960f

Browse files
authored
Update lxtask and mate-system-monitor
1 parent 4953e89 commit 49d960f

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

programs/x86_64-apps

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1350,7 +1350,7 @@
13501350
◆ lutris : Unofficial. Install and play video games from all eras and from most gaming systems, by leveraging and combining existing emulators, WINE included.
13511351
◆ lutris-gamepad-ui : A simple, TV-friendly, gamepad-navigable frontend for the Lutris game launcher on Linux.
13521352
◆ lx-music-desktop : 一个基于electron的音乐软件.
1353-
◆ lxtask : A lightweight and desktop-independent task manager.
1353+
◆ lxtask : Unofficial. A lightweight and desktop-independent task manager.
13541354
◆ lyricistant : A helpful writing assistant for lyricists.
13551355
◆ m : Data oriented programming language for game developers.
13561356
◆ macchina : A system information frontend with an emphasis on performance.

programs/x86_64/lxtask

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# AM INSTALL SCRIPT VERSION 3.5
44
set -u
55
APP=lxtask
6-
SITE="ivan-hc/Database-of-pkg2appimaged-packages"
6+
SITE="ivan-hc/lxtask-appimage"
77

88
# CREATE DIRECTORIES AND ADD REMOVER
99
[ -n "$APP" ] && mkdir -p "/opt/$APP/tmp" "/opt/$APP/icons" && cd "/opt/$APP/tmp" || exit 1
@@ -12,7 +12,7 @@ printf '\n%s' "rm -f /usr/local/share/applications/$APP-AM.desktop" >> ../remove
1212
chmod 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/ivan-hc/Database-of-pkg2appimaged-packages/releases?per_page=100 | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -i "lxtask" | head -1)
15+
version=$(curl -Ls https://api.github.com/repos/ivan-hc/lxtask-appimage/releases | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -vi "i386\|i686\|aarch64\|arm64\|armv7l" | head -1)
1616
wget "$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.
@@ -31,9 +31,9 @@ cat >> ./AM-updater << 'EOF'
3131
#!/bin/sh
3232
set -u
3333
APP=lxtask
34-
SITE="ivan-hc/Database-of-pkg2appimaged-packages"
34+
SITE="ivan-hc/lxtask-appimage"
3535
version0=$(cat "/opt/$APP/version")
36-
version=$(curl -Ls https://api.github.com/repos/ivan-hc/Database-of-pkg2appimaged-packages/releases?per_page=100 | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -i "lxtask" | head -1)
36+
version=$(curl -Ls https://api.github.com/repos/ivan-hc/lxtask-appimage/releases | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -vi "i386\|i686\|aarch64\|arm64\|armv7l" | head -1)
3737
[ -n "$version" ] || { echo "Error getting link"; exit 1; }
3838
if command -v appimageupdatetool >/dev/null 2>&1; then
3939
cd "/opt/$APP" || exit 1
@@ -72,6 +72,6 @@ while [ "$COUNT" -lt 10 ]; do # Tries to get the actual icon/desktop if it is a
7272
[ ! -L ./"$APP".desktop ] && [ ! -L ./DirIcon ] && break
7373
COUNT=$((COUNT + 1))
7474
done
75-
sed -i "s#Exec=[^ ]*#Exec=$APP#g; s#Icon=.*#Icon=/opt/$APP/icons/$APP#g" ./"$APP".desktop
75+
sed -i "s#Exec=[^ ]*#Exec=$APP#g; s#Icon=.*#Icon=/opt/$APP/icons/$APP#g; s# --no-sandbox##g" ./"$APP".desktop
7676
mv ./"$APP".desktop /usr/local/share/applications/"$APP"-AM.desktop && mv ./DirIcon ./icons/"$APP" 1>/dev/null
7777
rm -R -f ./squashfs-root

programs/x86_64/mate-system-monitor

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# AM INSTALL SCRIPT VERSION 3.5
44
set -u
55
APP=mate-system-monitor
6-
SITE="ivan-hc/Database-of-pkg2appimaged-packages"
6+
SITE="ivan-hc/MATE-system-monitor-appimage"
77

88
# CREATE DIRECTORIES AND ADD REMOVER
99
[ -n "$APP" ] && mkdir -p "/opt/$APP/tmp" "/opt/$APP/icons" && cd "/opt/$APP/tmp" || exit 1
@@ -12,7 +12,7 @@ printf '\n%s' "rm -f /usr/local/share/applications/$APP-AM.desktop" >> ../remove
1212
chmod 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/ivan-hc/Database-of-pkg2appimaged-packages/releases?per_page=100 | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -i "mate-system-monitor" | head -1)
15+
version=$(curl -Ls https://api.github.com/repos/ivan-hc/MATE-system-monitor-appimage/releases | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -vi "i386\|i686\|aarch64\|arm64\|armv7l" | head -1)
1616
wget "$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.
@@ -31,9 +31,9 @@ cat >> ./AM-updater << 'EOF'
3131
#!/bin/sh
3232
set -u
3333
APP=mate-system-monitor
34-
SITE="ivan-hc/Database-of-pkg2appimaged-packages"
34+
SITE="ivan-hc/MATE-system-monitor-appimage"
3535
version0=$(cat "/opt/$APP/version")
36-
version=$(curl -Ls https://api.github.com/repos/ivan-hc/Database-of-pkg2appimaged-packages/releases?per_page=100 | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -i "mate-system-monitor" | head -1)
36+
version=$(curl -Ls https://api.github.com/repos/ivan-hc/MATE-system-monitor-appimage/releases | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -vi "i386\|i686\|aarch64\|arm64\|armv7l" | head -1)
3737
[ -n "$version" ] || { echo "Error getting link"; exit 1; }
3838
if command -v appimageupdatetool >/dev/null 2>&1; then
3939
cd "/opt/$APP" || exit 1
@@ -72,6 +72,6 @@ while [ "$COUNT" -lt 10 ]; do # Tries to get the actual icon/desktop if it is a
7272
[ ! -L ./"$APP".desktop ] && [ ! -L ./DirIcon ] && break
7373
COUNT=$((COUNT + 1))
7474
done
75-
sed -i "s#Exec=[^ ]*#Exec=$APP#g; s#Icon=.*#Icon=/opt/$APP/icons/$APP#g" ./"$APP".desktop
75+
sed -i "s#Exec=[^ ]*#Exec=$APP#g; s#Icon=.*#Icon=/opt/$APP/icons/$APP#g; s# --no-sandbox##g; s/^OnlyShowIn/#OnlyShowIn/g" ./"$APP".desktop
7676
mv ./"$APP".desktop /usr/local/share/applications/"$APP"-AM.desktop && mv ./DirIcon ./icons/"$APP" 1>/dev/null
7777
rm -R -f ./squashfs-root

0 commit comments

Comments
 (0)