diff --git a/programs/x86_64/caesium b/programs/x86_64/caesium index a7722fdb2..a9cc7bf50 100644 --- a/programs/x86_64/caesium +++ b/programs/x86_64/caesium @@ -53,7 +53,7 @@ EOF chmod a+x ./AM-updater || exit 1 # LAUNCHER & ICON -./"$APP" --appimage-extract *.desktop 1>/dev/null && mv ./squashfs-root/*.desktop ./"$APP".desktop +./"$APP" --appimage-extract *.desktop 1>/dev/null && mv ./squashfs-root/appentry.desktop ./"$APP".desktop ./"$APP" --appimage-extract .DirIcon 1>/dev/null && mv ./squashfs-root/.DirIcon ./DirIcon COUNT=0 while [ "$COUNT" -lt 10 ]; do # Tries to get the actual icon/desktop if it is a symlink to another symlink diff --git a/programs/x86_64/hugor b/programs/x86_64/hugor index 84bc7f08b..bfd447270 100644 --- a/programs/x86_64/hugor +++ b/programs/x86_64/hugor @@ -15,7 +15,7 @@ chmod a+x ../remove || exit 1 version=$(curl -Ls https://api.github.com/repos/realnc/hugor/releases | sed 's/[()",{} ]/\n/g' | grep -oi "https.*64.*mage.*tar.gz$" | grep -vi "i386\|i686\|aarch64\|arm64\|armv7l" | head -1) wget "$version" || exit 1 #wget "$version.zsync" 2> /dev/null # Comment out this line if you want to use zsync -# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded. +tar fx ./*tar* cd .. mv ./tmp/*mage ./"$APP" mv ./tmp/*.zsync ./"$APP".zsync 2>/dev/null @@ -39,7 +39,7 @@ if [ "$version" != "$version0" ] || [ -e /opt/"$APP"/*.zsync ]; then mkdir "/opt/$APP/tmp" && cd "/opt/$APP/tmp" || exit 1 [ -e ../*.zsync ] || notify-send "A new version of $APP is available, please wait" [ -e ../*.zsync ] && wget "$version.zsync" 2>/dev/null || { wget "$version" || exit 1; } - # Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded. + tar fx ./*tar* cd .. mv ./tmp/*.zsync ./"$APP".zsync 2>/dev/null || mv --backup=t ./tmp/*mage ./"$APP" [ -e ./*.zsync ] && { zsync ./"$APP".zsync || notify-send -u critical "zsync failed to update $APP"; }