From 637667ddb8d43734fe37b1dd9b9c763cf3df5ca3 Mon Sep 17 00:00:00 2001 From: Fan <48121686+Fan095@users.noreply.github.com> Date: Sun, 21 Jul 2024 00:29:09 +0800 Subject: [PATCH] Update unpack.sh --- unpack.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/unpack.sh b/unpack.sh index 6ab1390..5f90808 100644 --- a/unpack.sh +++ b/unpack.sh @@ -45,13 +45,15 @@ get_overlay() { cp -r "$GITHUB_WORKSPACE"/"$device"/product/overlay "$GITHUB_WORKSPACE"/get_files/product } -get_priv_app() { +get_flip_home() { mkdir -p "$GITHUB_WORKSPACE"/get_files/product/priv-app/ - sudo cp "$GITHUB_WORKSPACE"/"$device"/product/priv-app/* "$GITHUB_WORKSPACE"/get_files/product/priv-app + cp -r "$GITHUB_WORKSPACE"/"$device"/product/priv-app/FlipHome "$GITHUB_WORKSPACE"/get_files/product/priv-app + cp -r "$GITHUB_WORKSPACE"/"$device"/product/priv-app/MiuiHome "$GITHUB_WORKSPACE"/get_files/product/priv-app + cp -r "$GITHUB_WORKSPACE"/"$device"/product/priv-app/QuickSearchBoxFoldMIUI15 "$GITHUB_WORKSPACE"/get_files/product/priv-app } extract_files() { cp "$GITHUB_WORKSPACE"/info.txt "$GITHUB_WORKSPACE"/get_files - get_priv_app + get_flip_home get_files_config }