2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-11-09 19:10:30 +00:00
NanoDroid/data/build-package.pkg-microg

48 lines
1.0 KiB
Plaintext
Raw Normal View History

2018-01-23 20:11:52 +00:00
#!/bin/bash
create_microg_package() {
ZIP="${CWD}/NanoDroid-microG-${VERSION}".zip
2018-11-10 07:56:59 +00:00
rm -f "${ZIP}"*
2018-01-23 20:11:52 +00:00
print_package "microG"
cd "${CWD}/Full"
2019-03-02 19:53:46 +00:00
for app in DroidGuard nlpBackendApple nlpBackendDejavu \
2019-01-13 19:52:59 +00:00
nlpBackendIchnaea nlpBackendNominatim nlpBackendRadiocell; do
2018-01-23 20:11:52 +00:00
zip_add "system/app/${app}/"
done
for app in FakeStore GmsCore_Official GmsCore_NanoDroid \
2019-03-02 19:53:46 +00:00
Phonesky GsfProxy YalpStore AuroraStore; do
2018-01-23 20:11:52 +00:00
zip_add "system/priv-app/${app}/"
done
for input in "system/xbin/nanodroid*" "system/xbin/novl" \
2018-10-11 17:37:04 +00:00
"system/xbin/npem" "system/xbin/nprp" \
2018-04-22 09:48:09 +00:00
"system/xbin/nutl" "system/xbin/unzip*" "system/framework/" \
"gsync/" "system/etc/permissions/" "system/etc/sysconfig/" \
"system/etc/default-permissions/" "swipe/"; do
2018-01-23 20:11:52 +00:00
zip_add "${input}"
done
cd "${CWD}/microG"
zip_add
cd "${CWD}"
for file in Common{Installer,Addon} busybox.* sqlite3.*; do
zip_add ${file}
done
2018-01-23 20:11:52 +00:00
zip_add_doc
zip_add_config .nanodroid-overlay
2018-01-23 20:11:52 +00:00
zip_add_config .nanodroid-setup 1
sum_sign_package "${ZIP}"
2018-01-23 20:11:52 +00:00
}
mk_pkg_microg () {
create_microg_package &
progress $!
}