From 3752476c948e3c82aaec826363d43a4ea4a7f803 Mon Sep 17 00:00:00 2001 From: janith cooray Date: Fri, 25 Oct 2024 00:46:48 +0530 Subject: [PATCH] fix build error --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 97d24d9..073057d 100755 --- a/build.sh +++ b/build.sh @@ -37,7 +37,7 @@ for FILE in "config"/*.sh; do # Update JSON File echo "{\"version\": $MODFILE_VERSION,\"versionCode\": $MODFILE_VERCODE," > "$REPO_TOPLEVEL/release/$VARIENT_NAME.json" echo "\"zipUrl\": \"https://github.com/janithcooray/lin_os_swap_mod/releases/latest/download/$VARIENT_NAME.zip\",\"changelog\": \"https://github.com/janithcooray/lin_os_swap_mod/releases/latest/download/CHANGELOG.md\"}" >> "$REPO_TOPLEVEL/release/$VARIENT_NAME.json" - echo "updateJson=" >> "https://github.com/janithcooray/lin_os_swap_mod/releases/latest/download/$VARIENT_NAME.json" + echo "updateJson=https://github.com/janithcooray/lin_os_swap_mod/releases/latest/download/$VARIENT_NAME.json" >> $REPO_TOPLEVEL/module/module.prop rm -f "$REPO_TOPLEVEL/release/$VARIENT_NAME.zip"; cp "$REPO_TOPLEVEL/config/$VARIENT_NAME.sh" "$REPO_TOPLEVEL/module/vars.sh"