mid-kid
3 years ago
1 changed files with 32 additions and 0 deletions
@ -0,0 +1,32 @@ |
|||||
|
#!/bin/sh |
||||
|
set -e |
||||
|
|
||||
|
dir=deblob |
||||
|
version=1 |
||||
|
|
||||
|
rm -rf "$dir" |
||||
|
mkdir -p "$dir" |
||||
|
|
||||
|
cat > "$dir/module.prop" << EOF |
||||
|
id=deblob |
||||
|
name=Deblob crDroid |
||||
|
version=$version |
||||
|
versionCode=1 |
||||
|
author=me |
||||
|
description= |
||||
|
EOF |
||||
|
|
||||
|
# https://github.com/crdroidandroid/android_vendor_addons/tree/12.1/prebuilt/ |
||||
|
cat > "$dir/customize.sh" << EOF |
||||
|
REPLACE=" |
||||
|
/system/product/priv-app/DeviceIntelligenceNetworkPrebuilt |
||||
|
/system/product/priv-app/DevicePersonalizationPrebuiltPixel2021 |
||||
|
/system/product/priv-app/SettingsIntelligenceGooglePrebuilt |
||||
|
/system/product/priv-app/TurboPrebuilt |
||||
|
/system/app/FlipendoPrebuilt |
||||
|
" |
||||
|
EOF |
||||
|
|
||||
|
./package.sh "$dir" |
||||
|
mv "$dir/package.zip" deblob.zip |
||||
|
rm -rf "$dir" |
Loading…
Reference in new issue