1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/shiori_ynh.git synced 2024-09-03 20:26:17 +02:00

Update updater.sh

This commit is contained in:
Navan Chauhan 2023-03-19 14:46:21 -06:00 committed by GitHub
parent d9a16b41ce
commit 98d979c98c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,9 +9,6 @@
# Since each app is different, maintainers can adapt its contents so as to perform
# automatic actions when a new upstream release is detected.
# Remove this exit command when you are ready to run this Action
exit 1
#=================================================
# FETCHING LATEST RELEASE AND ITS ASSETS
#=================================================
@ -67,11 +64,14 @@ echo "Handling asset at $asset_url"
# Here we base the source file name upon a unique keyword in the assets url (admin vs. update)
# Leave $src empty to ignore the asset
case $asset_url in
*"admin"*)
src="app"
*"Linux_aarch64"*)
src="arm64"
;;
*"update"*)
src="app-upgrade"
*"Linux_armv7"*)
src="armhf"
;;
*"Linux_x86_64"*)
src="amd64"
;;
*)
src=""