Skip to content

Commit

Permalink
Update unpack.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Fan095 authored Jul 20, 2024
1 parent a52e2df commit 637667d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions unpack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 637667d

Please sign in to comment.