Skip to content

Commit bb64d82

Browse files
add 3 apps (#2095)
* Add files via upload * Update aarch64-apps * Update x86_64-apps * Add files via upload * Update x86_64-apps
1 parent 9f3df0d commit bb64d82

File tree

6 files changed

+312
-0
lines changed

6 files changed

+312
-0
lines changed

programs/aarch64-apps

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@
138138
◆ supertuxkart-dev : Free kart racing game focused on Fun! Pre-release.
139139
◆ system-monitoring-center : Unofficial. Multi-featured system monitor.
140140
◆ tagger : Unofficial. Simple audio tagger with support for various audio formats.
141+
◆ taisei-project : Unofficial AppImage of Taisei-Project.
141142
◆ tangent : A clean and powerful open source notes app.
142143
◆ taradino : Unofficial, SDL2 port of Rise of the Triad.
143144
◆ topgrade : Upgrade all the things, this is the universal upgrade manager.

programs/aarch64/taisei-project

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
#!/bin/sh
2+
3+
# AM INSTALL SCRIPT VERSION 3.5
4+
set -u
5+
APP=taisei-project
6+
SITE="pkgforge-dev/Taisei-Project-AppImage"
7+
8+
# CREATE DIRECTORIES AND ADD REMOVER
9+
[ -n "$APP" ] && mkdir -p "/opt/$APP/tmp" "/opt/$APP/icons" && cd "/opt/$APP/tmp" || exit 1
10+
printf "#!/bin/sh\nset -e\nrm -f /usr/local/bin/$APP\nrm -R -f /opt/$APP" > ../remove
11+
printf '\n%s' "rm -f /usr/local/share/applications/$APP-AM.desktop" >> ../remove
12+
chmod a+x ../remove || exit 1
13+
14+
# DOWNLOAD AND PREPARE THE APP, $version is also used for updates
15+
version=$(curl -Ls https://api.github.com/repos/pkgforge-dev/Taisei-Project-AppImage/releases/latest | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -i "aarch64\|arm64" | head -1)
16+
wget "$version" || exit 1
17+
# Keep this space in sync with other installation scripts
18+
# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
19+
cd ..
20+
mv ./tmp/*mage ./"$APP"
21+
# Keep this space in sync with other installation scripts
22+
rm -R -f ./tmp || exit 1
23+
echo "$version" > ./version
24+
chmod a+x ./"$APP" || exit 1
25+
26+
# LINK TO PATH
27+
ln -s "/opt/$APP/$APP" "/usr/local/bin/$APP"
28+
29+
# SCRIPT TO UPDATE THE PROGRAM
30+
cat >> ./AM-updater << 'EOF'
31+
#!/bin/sh
32+
set -u
33+
APP=taisei-project
34+
SITE="pkgforge-dev/Taisei-Project-AppImage"
35+
version0=$(cat "/opt/$APP/version")
36+
version=$(curl -Ls https://api.github.com/repos/pkgforge-dev/Taisei-Project-AppImage/releases/latest | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -i "aarch64\|arm64" | head -1)
37+
[ -n "$version" ] || { echo "Error getting link"; exit 1; }
38+
if command -v appimageupdatetool >/dev/null 2>&1; then
39+
cd "/opt/$APP" || exit 1
40+
appimageupdatetool -Or ./"$APP" && chmod a+x ./"$APP" && echo "$version" > ./version && exit 0
41+
fi
42+
if [ "$version" != "$version0" ]; then
43+
mkdir "/opt/$APP/tmp" && cd "/opt/$APP/tmp" || exit 1
44+
notify-send "A new version of $APP is available, please wait"
45+
wget "$version" || exit 1
46+
# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
47+
cd ..
48+
mv --backup=t ./tmp/*mage ./"$APP"
49+
chmod a+x ./"$APP" || exit 1
50+
echo "$version" > ./version
51+
rm -R -f ./*zs-old ./*.part ./tmp ./*~
52+
notify-send "$APP is updated!"
53+
else
54+
echo "Update not needed!"
55+
fi
56+
EOF
57+
chmod a+x ./AM-updater || exit 1
58+
59+
# LAUNCHER & ICON
60+
./"$APP" --appimage-extract *.desktop 1>/dev/null && mv ./squashfs-root/*.desktop ./"$APP".desktop
61+
./"$APP" --appimage-extract .DirIcon 1>/dev/null && mv ./squashfs-root/.DirIcon ./DirIcon
62+
COUNT=0
63+
while [ "$COUNT" -lt 10 ]; do # Tries to get the actual icon/desktop if it is a symlink to another symlink
64+
if [ -L ./"$APP".desktop ]; then
65+
LINKPATH="$(readlink ./"$APP".desktop | sed 's|^\./||' 2>/dev/null)"
66+
./"$APP" --appimage-extract "$LINKPATH" 1>/dev/null && mv ./squashfs-root/"$LINKPATH" ./"$APP".desktop
67+
fi
68+
if [ -L ./DirIcon ]; then
69+
LINKPATH="$(readlink ./DirIcon | sed 's|^\./||' 2>/dev/null)"
70+
./"$APP" --appimage-extract "$LINKPATH" 1>/dev/null && mv ./squashfs-root/"$LINKPATH" ./DirIcon
71+
fi
72+
[ ! -L ./"$APP".desktop ] && [ ! -L ./DirIcon ] && break
73+
COUNT=$((COUNT + 1))
74+
done
75+
sed -i "s#Exec=[^ ]*#Exec=$APP#g; s#Icon=.*#Icon=/opt/$APP/icons/$APP#g; s# --no-sandbox##g" ./"$APP".desktop
76+
mv ./"$APP".desktop /usr/local/share/applications/"$APP"-AM.desktop && mv ./DirIcon ./icons/"$APP" 1>/dev/null
77+
rm -R -f ./squashfs-root

programs/x86_64-apps

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2348,6 +2348,7 @@
23482348
◆ soil-editor : A tool to edit the soil properties, CRITERIA1D.
23492349
◆ solars : Visualize the planets of our solar system.
23502350
◆ solarwallet : Stellar wallet. Secure and user-friendly.
2351+
◆ sonic-3-air : Unofficial AppImage of Sonic 3 A.I.R.
23512352
◆ sonic-mania-decompilation : A complete decompilation of Sonic Mania (2017).
23522353
◆ sonicvisualiser : Viewing and analysing the contents of music audio files.
23532354
◆ sonixd : A full-featured Subsonic/Jellyfin compatible desktop music player.
@@ -2498,6 +2499,7 @@
24982499
◆ tagger : Unofficial. Simple audio tagger with support for various audio formats.
24992500
◆ tagspaces : An offline, open source, document manager with tagging support.
25002501
◆ tagtime-desktop : Time tracking for space cadets, desktop edition.
2502+
◆ taisei-project : Unofficial, A free and open-source Touhou Project fangame.
25012503
◆ talktype : Linux speech to text app.
25022504
◆ tangent : A clean and powerful open source notes app.
25032505
◆ taradino : Unofficial, SDL2 port of Rise of the Triad.
@@ -2763,6 +2765,7 @@
27632765
◆ wezterm : A GPU-accelerated terminal emulator and multiplexer.
27642766
◆ wezterm-nightly : A GPU-accelerated terminal emulator and multiplexer.
27652767
◆ whalebird : An Electron based Mastodon client.
2768+
◆ whatsdesk : Unofficial, An unofficial client of WhatsApp.
27662769
◆ whatstron : Unofficial WhatsApp desktop client for Linux.
27672770
◆ whirlpool-gui : Desktop GUI for Whirlpool by Samourai-Wallet.
27682771
◆ whispering : Press shortcut → speak → get text. Free and open source. More local-first apps soon ❤️.

programs/x86_64/sonic-3-air

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
#!/bin/sh
2+
3+
# AM INSTALL SCRIPT VERSION 3.5
4+
set -u
5+
APP=sonic-3-air
6+
SITE="pkgforge-dev/Sonic-3-AIR-AppImage"
7+
8+
# CREATE DIRECTORIES AND ADD REMOVER
9+
[ -n "$APP" ] && mkdir -p "/opt/$APP/tmp" "/opt/$APP/icons" && cd "/opt/$APP/tmp" || exit 1
10+
printf "#!/bin/sh\nset -e\nrm -f /usr/local/bin/$APP\nrm -R -f /opt/$APP" > ../remove
11+
printf '\n%s' "rm -f /usr/local/share/applications/$APP-AM.desktop" >> ../remove
12+
chmod a+x ../remove || exit 1
13+
14+
# DOWNLOAD AND PREPARE THE APP, $version is also used for updates
15+
version=$(curl -Ls https://api.github.com/repos/pkgforge-dev/Sonic-3-AIR-AppImage/releases/latest | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -vi "i386\|i686\|aarch64\|arm64\|armv7l" | head -1)
16+
wget "$version" || exit 1
17+
# Keep this space in sync with other installation scripts
18+
# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
19+
cd ..
20+
mv ./tmp/*mage ./"$APP"
21+
# Keep this space in sync with other installation scripts
22+
rm -R -f ./tmp || exit 1
23+
echo "$version" > ./version
24+
chmod a+x ./"$APP" || exit 1
25+
26+
# LINK TO PATH
27+
ln -s "/opt/$APP/$APP" "/usr/local/bin/$APP"
28+
29+
# SCRIPT TO UPDATE THE PROGRAM
30+
cat >> ./AM-updater << 'EOF'
31+
#!/bin/sh
32+
set -u
33+
APP=sonic-3-air
34+
SITE="pkgforge-dev/Sonic-3-AIR-AppImage"
35+
version0=$(cat "/opt/$APP/version")
36+
version=$(curl -Ls https://api.github.com/repos/pkgforge-dev/Sonic-3-AIR-AppImage/releases/latest | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -vi "i386\|i686\|aarch64\|arm64\|armv7l" | head -1)
37+
[ -n "$version" ] || { echo "Error getting link"; exit 1; }
38+
if command -v appimageupdatetool >/dev/null 2>&1; then
39+
cd "/opt/$APP" || exit 1
40+
appimageupdatetool -Or ./"$APP" && chmod a+x ./"$APP" && echo "$version" > ./version && exit 0
41+
fi
42+
if [ "$version" != "$version0" ]; then
43+
mkdir "/opt/$APP/tmp" && cd "/opt/$APP/tmp" || exit 1
44+
notify-send "A new version of $APP is available, please wait"
45+
wget "$version" || exit 1
46+
# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
47+
cd ..
48+
mv --backup=t ./tmp/*mage ./"$APP"
49+
chmod a+x ./"$APP" || exit 1
50+
echo "$version" > ./version
51+
rm -R -f ./*zs-old ./*.part ./tmp ./*~
52+
notify-send "$APP is updated!"
53+
else
54+
echo "Update not needed!"
55+
fi
56+
EOF
57+
chmod a+x ./AM-updater || exit 1
58+
59+
# LAUNCHER & ICON
60+
./"$APP" --appimage-extract *.desktop 1>/dev/null && mv ./squashfs-root/*.desktop ./"$APP".desktop
61+
./"$APP" --appimage-extract .DirIcon 1>/dev/null && mv ./squashfs-root/.DirIcon ./DirIcon
62+
COUNT=0
63+
while [ "$COUNT" -lt 10 ]; do # Tries to get the actual icon/desktop if it is a symlink to another symlink
64+
if [ -L ./"$APP".desktop ]; then
65+
LINKPATH="$(readlink ./"$APP".desktop | sed 's|^\./||' 2>/dev/null)"
66+
./"$APP" --appimage-extract "$LINKPATH" 1>/dev/null && mv ./squashfs-root/"$LINKPATH" ./"$APP".desktop
67+
fi
68+
if [ -L ./DirIcon ]; then
69+
LINKPATH="$(readlink ./DirIcon | sed 's|^\./||' 2>/dev/null)"
70+
./"$APP" --appimage-extract "$LINKPATH" 1>/dev/null && mv ./squashfs-root/"$LINKPATH" ./DirIcon
71+
fi
72+
[ ! -L ./"$APP".desktop ] && [ ! -L ./DirIcon ] && break
73+
COUNT=$((COUNT + 1))
74+
done
75+
sed -i "s#Exec=[^ ]*#Exec=$APP#g; s#Icon=.*#Icon=/opt/$APP/icons/$APP#g; s# --no-sandbox##g" ./"$APP".desktop
76+
mv ./"$APP".desktop /usr/local/share/applications/"$APP"-AM.desktop && mv ./DirIcon ./icons/"$APP" 1>/dev/null
77+
rm -R -f ./squashfs-root

programs/x86_64/taisei-project

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
#!/bin/sh
2+
3+
# AM INSTALL SCRIPT VERSION 3.5
4+
set -u
5+
APP=taisei-project
6+
SITE="pkgforge-dev/Taisei-Project-AppImage"
7+
8+
# CREATE DIRECTORIES AND ADD REMOVER
9+
[ -n "$APP" ] && mkdir -p "/opt/$APP/tmp" "/opt/$APP/icons" && cd "/opt/$APP/tmp" || exit 1
10+
printf "#!/bin/sh\nset -e\nrm -f /usr/local/bin/$APP\nrm -R -f /opt/$APP" > ../remove
11+
printf '\n%s' "rm -f /usr/local/share/applications/$APP-AM.desktop" >> ../remove
12+
chmod a+x ../remove || exit 1
13+
14+
# DOWNLOAD AND PREPARE THE APP, $version is also used for updates
15+
version=$(curl -Ls https://api.github.com/repos/pkgforge-dev/Taisei-Project-AppImage/releases/latest | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -vi "i386\|i686\|aarch64\|arm64\|armv7l" | head -1)
16+
wget "$version" || exit 1
17+
# Keep this space in sync with other installation scripts
18+
# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
19+
cd ..
20+
mv ./tmp/*mage ./"$APP"
21+
# Keep this space in sync with other installation scripts
22+
rm -R -f ./tmp || exit 1
23+
echo "$version" > ./version
24+
chmod a+x ./"$APP" || exit 1
25+
26+
# LINK TO PATH
27+
ln -s "/opt/$APP/$APP" "/usr/local/bin/$APP"
28+
29+
# SCRIPT TO UPDATE THE PROGRAM
30+
cat >> ./AM-updater << 'EOF'
31+
#!/bin/sh
32+
set -u
33+
APP=taisei-project
34+
SITE="pkgforge-dev/Taisei-Project-AppImage"
35+
version0=$(cat "/opt/$APP/version")
36+
version=$(curl -Ls https://api.github.com/repos/pkgforge-dev/Taisei-Project-AppImage/releases/latest | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -vi "i386\|i686\|aarch64\|arm64\|armv7l" | head -1)
37+
[ -n "$version" ] || { echo "Error getting link"; exit 1; }
38+
if command -v appimageupdatetool >/dev/null 2>&1; then
39+
cd "/opt/$APP" || exit 1
40+
appimageupdatetool -Or ./"$APP" && chmod a+x ./"$APP" && echo "$version" > ./version && exit 0
41+
fi
42+
if [ "$version" != "$version0" ]; then
43+
mkdir "/opt/$APP/tmp" && cd "/opt/$APP/tmp" || exit 1
44+
notify-send "A new version of $APP is available, please wait"
45+
wget "$version" || exit 1
46+
# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
47+
cd ..
48+
mv --backup=t ./tmp/*mage ./"$APP"
49+
chmod a+x ./"$APP" || exit 1
50+
echo "$version" > ./version
51+
rm -R -f ./*zs-old ./*.part ./tmp ./*~
52+
notify-send "$APP is updated!"
53+
else
54+
echo "Update not needed!"
55+
fi
56+
EOF
57+
chmod a+x ./AM-updater || exit 1
58+
59+
# LAUNCHER & ICON
60+
./"$APP" --appimage-extract *.desktop 1>/dev/null && mv ./squashfs-root/*.desktop ./"$APP".desktop
61+
./"$APP" --appimage-extract .DirIcon 1>/dev/null && mv ./squashfs-root/.DirIcon ./DirIcon
62+
COUNT=0
63+
while [ "$COUNT" -lt 10 ]; do # Tries to get the actual icon/desktop if it is a symlink to another symlink
64+
if [ -L ./"$APP".desktop ]; then
65+
LINKPATH="$(readlink ./"$APP".desktop | sed 's|^\./||' 2>/dev/null)"
66+
./"$APP" --appimage-extract "$LINKPATH" 1>/dev/null && mv ./squashfs-root/"$LINKPATH" ./"$APP".desktop
67+
fi
68+
if [ -L ./DirIcon ]; then
69+
LINKPATH="$(readlink ./DirIcon | sed 's|^\./||' 2>/dev/null)"
70+
./"$APP" --appimage-extract "$LINKPATH" 1>/dev/null && mv ./squashfs-root/"$LINKPATH" ./DirIcon
71+
fi
72+
[ ! -L ./"$APP".desktop ] && [ ! -L ./DirIcon ] && break
73+
COUNT=$((COUNT + 1))
74+
done
75+
sed -i "s#Exec=[^ ]*#Exec=$APP#g; s#Icon=.*#Icon=/opt/$APP/icons/$APP#g; s# --no-sandbox##g" ./"$APP".desktop
76+
mv ./"$APP".desktop /usr/local/share/applications/"$APP"-AM.desktop && mv ./DirIcon ./icons/"$APP" 1>/dev/null
77+
rm -R -f ./squashfs-root

programs/x86_64/whatsdesk

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
#!/bin/sh
2+
3+
# AM INSTALL SCRIPT VERSION 3.5
4+
set -u
5+
APP=whatsdesk
6+
SITE="pkgforge-dev/WhatsDesk-AppImage"
7+
8+
# CREATE DIRECTORIES AND ADD REMOVER
9+
[ -n "$APP" ] && mkdir -p "/opt/$APP/tmp" "/opt/$APP/icons" && cd "/opt/$APP/tmp" || exit 1
10+
printf "#!/bin/sh\nset -e\nrm -f /usr/local/bin/$APP\nrm -R -f /opt/$APP" > ../remove
11+
printf '\n%s' "rm -f /usr/local/share/applications/$APP-AM.desktop" >> ../remove
12+
chmod a+x ../remove || exit 1
13+
14+
# DOWNLOAD AND PREPARE THE APP, $version is also used for updates
15+
version=$(curl -Ls https://api.github.com/repos/pkgforge-dev/WhatsDesk-AppImage/releases/latest | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -vi "i386\|i686\|aarch64\|arm64\|armv7l" | head -1)
16+
wget "$version" || exit 1
17+
# Keep this space in sync with other installation scripts
18+
# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
19+
cd ..
20+
mv ./tmp/*mage ./"$APP"
21+
# Keep this space in sync with other installation scripts
22+
rm -R -f ./tmp || exit 1
23+
echo "$version" > ./version
24+
chmod a+x ./"$APP" || exit 1
25+
26+
# LINK TO PATH
27+
ln -s "/opt/$APP/$APP" "/usr/local/bin/$APP"
28+
29+
# SCRIPT TO UPDATE THE PROGRAM
30+
cat >> ./AM-updater << 'EOF'
31+
#!/bin/sh
32+
set -u
33+
APP=whatsdesk
34+
SITE="pkgforge-dev/WhatsDesk-AppImage"
35+
version0=$(cat "/opt/$APP/version")
36+
version=$(curl -Ls https://api.github.com/repos/pkgforge-dev/WhatsDesk-AppImage/releases/latest | sed 's/[()",{} ]/\n/g' | grep -oi "https.*mage$" | grep -vi "i386\|i686\|aarch64\|arm64\|armv7l" | head -1)
37+
[ -n "$version" ] || { echo "Error getting link"; exit 1; }
38+
if command -v appimageupdatetool >/dev/null 2>&1; then
39+
cd "/opt/$APP" || exit 1
40+
appimageupdatetool -Or ./"$APP" && chmod a+x ./"$APP" && echo "$version" > ./version && exit 0
41+
fi
42+
if [ "$version" != "$version0" ]; then
43+
mkdir "/opt/$APP/tmp" && cd "/opt/$APP/tmp" || exit 1
44+
notify-send "A new version of $APP is available, please wait"
45+
wget "$version" || exit 1
46+
# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.
47+
cd ..
48+
mv --backup=t ./tmp/*mage ./"$APP"
49+
chmod a+x ./"$APP" || exit 1
50+
echo "$version" > ./version
51+
rm -R -f ./*zs-old ./*.part ./tmp ./*~
52+
notify-send "$APP is updated!"
53+
else
54+
echo "Update not needed!"
55+
fi
56+
EOF
57+
chmod a+x ./AM-updater || exit 1
58+
59+
# LAUNCHER & ICON
60+
./"$APP" --appimage-extract *.desktop 1>/dev/null && mv ./squashfs-root/*.desktop ./"$APP".desktop
61+
./"$APP" --appimage-extract .DirIcon 1>/dev/null && mv ./squashfs-root/.DirIcon ./DirIcon
62+
COUNT=0
63+
while [ "$COUNT" -lt 10 ]; do # Tries to get the actual icon/desktop if it is a symlink to another symlink
64+
if [ -L ./"$APP".desktop ]; then
65+
LINKPATH="$(readlink ./"$APP".desktop | sed 's|^\./||' 2>/dev/null)"
66+
./"$APP" --appimage-extract "$LINKPATH" 1>/dev/null && mv ./squashfs-root/"$LINKPATH" ./"$APP".desktop
67+
fi
68+
if [ -L ./DirIcon ]; then
69+
LINKPATH="$(readlink ./DirIcon | sed 's|^\./||' 2>/dev/null)"
70+
./"$APP" --appimage-extract "$LINKPATH" 1>/dev/null && mv ./squashfs-root/"$LINKPATH" ./DirIcon
71+
fi
72+
[ ! -L ./"$APP".desktop ] && [ ! -L ./DirIcon ] && break
73+
COUNT=$((COUNT + 1))
74+
done
75+
sed -i "s#Exec=[^ ]*#Exec=$APP#g; s#Icon=.*#Icon=/opt/$APP/icons/$APP#g; s# --no-sandbox##g" ./"$APP".desktop
76+
mv ./"$APP".desktop /usr/local/share/applications/"$APP"-AM.desktop && mv ./DirIcon ./icons/"$APP" 1>/dev/null
77+
rm -R -f ./squashfs-root

0 commit comments

Comments
 (0)