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:
parent
d9a16b41ce
commit
98d979c98c
1 changed files with 7 additions and 7 deletions
14
.github/workflows/updater.sh
vendored
14
.github/workflows/updater.sh
vendored
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue