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-05-06 23:29:36 +00:00
|
|
|
for app in AuroraStore 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
|
|
|
|
|
2018-11-24 21:15:14 +00:00
|
|
|
for app in FakeStore GmsCore_Official GmsCore_NanoDroid \
|
2019-05-06 23:29:36 +00:00
|
|
|
Phonesky GsfProxy YalpStore; do
|
2018-01-23 20:11:52 +00:00
|
|
|
zip_add "system/priv-app/${app}/"
|
|
|
|
done
|
|
|
|
|
2018-03-28 22:12:19 +00:00
|
|
|
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/" \
|
2019-05-23 16:36:59 +00:00
|
|
|
"gsync/" "system/etc/sysconfig/" "swipe/" \
|
2019-05-25 18:50:58 +00:00
|
|
|
"system/etc/default-permissions/" "system/etc/permissions/"; do
|
2018-01-23 20:11:52 +00:00
|
|
|
zip_add "${input}"
|
|
|
|
done
|
|
|
|
|
|
|
|
cd "${CWD}/microG"
|
|
|
|
zip_add
|
|
|
|
cd "${CWD}"
|
|
|
|
|
2019-05-23 18:23:57 +00:00
|
|
|
zip_add CommonInstaller
|
|
|
|
zip_add CommonAddon
|
|
|
|
|
|
|
|
cd "${CWD}/tools"
|
|
|
|
zip_add "*"
|
|
|
|
cd "${CWD}"
|
2018-03-15 19:17:41 +00:00
|
|
|
|
2018-01-23 20:11:52 +00:00
|
|
|
zip_add_doc
|
2018-12-01 19:09:36 +00:00
|
|
|
zip_add_config .nanodroid-overlay
|
2018-01-23 20:11:52 +00:00
|
|
|
zip_add_config .nanodroid-setup 1
|
2018-09-23 19:52:47 +00:00
|
|
|
|
|
|
|
sum_sign_package "${ZIP}"
|
2018-01-23 20:11:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
mk_pkg_microg () {
|
|
|
|
create_microg_package &
|
|
|
|
progress $!
|
|
|
|
}
|