Skip to content

Commit a677fb6

Browse files
authored
Update AM-SAMPLE-AppImage
1 parent aa63398 commit a677fb6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/AM-SAMPLE-AppImage

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ version0=$(cat "/opt/$APP/version")
3636
version=$(FUNCTION)
3737
[ -n "$version" ] || { echo "Error getting link"; exit 1; }
3838
if [ "$version" != "$version0" ] || [ -e /opt/"$APP"/*.zsync ]; then
39+
[ -e /opt/"$APP"/*.zsync ] || notify-send "A new version of $APP is available, please wait"
3940
mkdir "/opt/$APP/tmp" && cd "/opt/$APP/tmp" || exit 1
4041
[ -e /opt/"$APP"/*.zsync ] && wget "$version.zsync" 2>/dev/null || { wget "$version" || exit 1; }
4142
# Use tar fx ./*tar* here for example in this line in case a compressed file is downloaded.

0 commit comments

Comments
 (0)