2018-01-23 20:11:52 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-08-10 10:29:57 +00:00
|
|
|
# MicroG
|
|
|
|
update_act[0]='0'
|
|
|
|
# Swipe
|
|
|
|
update_act[1]='0'
|
|
|
|
# Gsync
|
|
|
|
update_act[2]='0'
|
|
|
|
# Bromite
|
|
|
|
update_act[3]='0'
|
|
|
|
# Osmand
|
|
|
|
update_act[4]='0'
|
|
|
|
# FDroid
|
|
|
|
update_act[5]='0'
|
|
|
|
# FDroid Privileged Extension
|
|
|
|
update_act[6]='0'
|
|
|
|
# AuroraDroid
|
|
|
|
update_act[7]='0'
|
|
|
|
# AuroraStore
|
|
|
|
update_act[8]='0'
|
|
|
|
# AuroraServices
|
|
|
|
update_act[9]='0'
|
|
|
|
# Phonesky
|
2019-10-08 18:36:08 +00:00
|
|
|
update_act[10]='0'
|
2019-08-10 10:29:57 +00:00
|
|
|
# General Apps
|
2019-10-08 18:36:08 +00:00
|
|
|
update_act[11]='0'
|
2019-08-10 10:29:57 +00:00
|
|
|
|
2018-01-23 20:11:52 +00:00
|
|
|
nanodroid_pull () {
|
|
|
|
update_microg
|
|
|
|
update_fdroid
|
|
|
|
update_apps
|
|
|
|
update_swipe
|
|
|
|
update_gsync
|
2018-11-23 15:53:02 +00:00
|
|
|
update_bromite
|
2018-11-23 22:21:39 +00:00
|
|
|
update_osmand
|
2018-01-23 20:11:52 +00:00
|
|
|
}
|
|
|
|
|
2019-08-10 10:29:57 +00:00
|
|
|
grab_swipe () {
|
2019-08-09 22:55:05 +00:00
|
|
|
for arch in arm arm64 x86 x86_64; do
|
|
|
|
grab_lib_from_ogapps libjni_keyboarddecoder.so 23 ${arch} false
|
2018-10-31 19:34:30 +00:00
|
|
|
done
|
|
|
|
|
2019-08-09 22:55:05 +00:00
|
|
|
for arch in arm arm64; do
|
|
|
|
for sdk in 19 21 22 23 27 28; do
|
|
|
|
grab_lib_from_ogapps libjni_latinimegoogle.so ${sdk} ${arch} true
|
2018-01-23 20:11:52 +00:00
|
|
|
done
|
|
|
|
done
|
2018-10-31 19:34:30 +00:00
|
|
|
|
2019-08-09 22:55:05 +00:00
|
|
|
for arch in x86 x86_64; do
|
|
|
|
grab_lib_from_ogapps libjni_latinimegoogle.so 23 ${arch} false
|
2018-10-31 19:34:30 +00:00
|
|
|
done
|
2018-01-23 20:11:52 +00:00
|
|
|
}
|
|
|
|
|
2019-08-10 10:29:57 +00:00
|
|
|
update_swipe () {
|
|
|
|
update_act[1]='1'
|
|
|
|
}
|
|
|
|
|
|
|
|
grab_microg () {
|
2019-08-02 17:01:13 +00:00
|
|
|
# applications managed in repositories
|
2018-11-20 17:04:35 +00:00
|
|
|
grab_apk_from_repo ${uG_GMSCORE[@]}
|
2018-01-23 20:11:52 +00:00
|
|
|
grab_apk_from_repo ${uG_GSFPROXY[@]}
|
2019-07-06 19:05:15 +00:00
|
|
|
grab_apk_from_repo ${uG_DROIDGUARD[@]}
|
2018-09-29 19:55:08 +00:00
|
|
|
grab_apk_from_repo ${uG_FAKESTORE[@]}
|
2018-01-23 20:11:52 +00:00
|
|
|
grab_apk_from_repo ${fd_NLPDEJAVU[@]}
|
2018-07-06 18:48:33 +00:00
|
|
|
grab_apk_from_repo ${fd_NLPMOZILLA[@]}
|
2018-01-23 20:11:52 +00:00
|
|
|
grab_apk_from_repo ${fd_NLPNOMINATIM[@]}
|
2018-11-26 14:15:26 +00:00
|
|
|
grab_apk_from_repo ${fd_NLPAPPLE[@]}
|
2019-01-05 23:07:12 +00:00
|
|
|
grab_apk_from_repo ${fd_NLPRADIOCELL[@]}
|
2019-08-10 10:29:57 +00:00
|
|
|
}
|
2019-08-02 17:01:13 +00:00
|
|
|
|
2019-08-10 10:29:57 +00:00
|
|
|
update_microg () {
|
|
|
|
update_act[0]='1'
|
|
|
|
update_act[8]='1'
|
|
|
|
update_act[9]='1'
|
|
|
|
update_act[10]='1'
|
2018-01-23 20:11:52 +00:00
|
|
|
}
|
|
|
|
|
2019-08-10 10:29:57 +00:00
|
|
|
grab_gsync () {
|
2020-01-27 17:09:45 +00:00
|
|
|
# KK LL M N O P Q
|
|
|
|
for API in 19 21 23 24 26 28 29; do
|
2020-01-02 13:24:10 +00:00
|
|
|
grab_apk_from_ogapps ${og_CALSYNC[@]} ${API}
|
2018-01-23 20:11:52 +00:00
|
|
|
grab_apk_from_ogapps ${og_CONSYNC[@]} ${API}
|
|
|
|
grab_apk_from_ogapps ${og_BTRANSP[@]} ${API}
|
|
|
|
done
|
|
|
|
}
|
|
|
|
|
2019-08-10 10:29:57 +00:00
|
|
|
update_gsync () {
|
|
|
|
update_act[2]='1'
|
|
|
|
}
|
|
|
|
|
2018-01-23 20:11:52 +00:00
|
|
|
update_fdroid () {
|
2019-08-10 10:29:57 +00:00
|
|
|
update_act[5]='1'
|
|
|
|
update_act[6]='1'
|
|
|
|
update_act[7]='1'
|
|
|
|
update_act[9]='1'
|
2018-01-23 20:11:52 +00:00
|
|
|
}
|
|
|
|
|
2019-08-10 10:29:57 +00:00
|
|
|
grab_apps () {
|
2018-01-23 20:11:52 +00:00
|
|
|
# applications managed in repositories
|
2019-06-08 20:53:12 +00:00
|
|
|
grab_apk_from_repo ${fd_ALARMIO[@]}
|
2018-01-23 20:11:52 +00:00
|
|
|
grab_apk_from_repo ${fd_ANYSOFTKEYBOARD[@]}
|
2018-09-29 20:05:51 +00:00
|
|
|
grab_apk_from_repo ${fd_BLOCKADA[@]}
|
2020-01-17 20:56:26 +00:00
|
|
|
grab_apk_from_repo ${fd_FROST[@]}
|
2019-06-09 18:41:17 +00:00
|
|
|
grab_apk_from_repo ${fd_HACKERSKEYBOARD[@]}
|
2018-03-17 16:08:36 +00:00
|
|
|
grab_apk_from_repo ${fd_KEEPASSDX[@]}
|
2018-09-29 20:36:53 +00:00
|
|
|
grab_apk_from_repo ${fd_K9MAIL[@]}
|
2018-10-22 18:49:03 +00:00
|
|
|
grab_apk_from_repo ${nlx_MPV[@]}
|
2018-01-23 20:11:52 +00:00
|
|
|
grab_apk_from_repo ${fd_NEWPIPE[@]}
|
|
|
|
grab_apk_from_repo ${fd_OANDBACKUP[@]}
|
|
|
|
grab_apk_from_repo ${fd_ODYSSEY[@]}
|
|
|
|
grab_apk_from_repo ${fd_OPENCAMERA[@]}
|
|
|
|
grab_apk_from_repo ${fd_OPENKEYCHAIN[@]}
|
2019-04-12 17:17:40 +00:00
|
|
|
grab_apk_from_repo ${fd_OPENLAUNCHER[@]}
|
2018-01-23 20:11:52 +00:00
|
|
|
grab_apk_from_repo ${fd_OPENVPN[@]}
|
2019-06-09 18:29:16 +00:00
|
|
|
grab_apk_from_repo ${fd_PRIVACY_BROWSER[@]}
|
2018-04-12 16:50:00 +00:00
|
|
|
grab_apk_from_repo ${fd_QKSMS[@]}
|
2018-01-23 20:11:52 +00:00
|
|
|
grab_apk_from_repo ${fd_SIMPLECALENDAR[@]}
|
|
|
|
grab_apk_from_repo ${fd_SIMPLEGALLERY[@]}
|
|
|
|
grab_apk_from_repo ${fd_TERMUX[@]}
|
2020-04-07 09:48:20 +00:00
|
|
|
grab_apk_from_repo ${fd_TWIDERE[@]}
|
2018-11-10 07:42:00 +00:00
|
|
|
grab_apk_from_repo ${gd_TORBROWSER[@]}
|
2018-01-23 20:11:52 +00:00
|
|
|
|
2019-07-26 19:28:06 +00:00
|
|
|
# GitHub
|
2020-01-28 19:11:09 +00:00
|
|
|
grab_apk_from_github ${gh_AMAZE[@]}
|
2019-07-26 19:28:06 +00:00
|
|
|
grab_apk_from_github ${gh_SMARTPACKKERNELMANAGER[@]}
|
|
|
|
|
|
|
|
# URL
|
|
|
|
grab_apk_from_url ${raw_XDALABS[@]}
|
2018-01-23 20:11:52 +00:00
|
|
|
}
|
2018-11-07 19:34:06 +00:00
|
|
|
|
2019-08-10 10:29:57 +00:00
|
|
|
update_apps () {
|
2019-10-08 18:36:08 +00:00
|
|
|
update_act[11]='1'
|
2019-08-10 10:29:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
grab_bromite () {
|
2018-11-07 19:34:06 +00:00
|
|
|
grab_apk_from_repo ${bm_WEBVIEW_arm64[@]}
|
|
|
|
grab_apk_from_repo ${bm_WEBVIEW_arm[@]}
|
|
|
|
grab_apk_from_repo ${bm_WEBVIEW_x86[@]}
|
|
|
|
}
|
2018-11-23 20:04:36 +00:00
|
|
|
|
2019-08-10 10:29:57 +00:00
|
|
|
update_bromite () {
|
|
|
|
update_act[3]='1'
|
|
|
|
}
|
|
|
|
|
|
|
|
grab_osmand () {
|
2018-11-23 20:04:36 +00:00
|
|
|
grab_apk_from_repo ${fd_OSMAND[@]}
|
2018-11-23 20:18:01 +00:00
|
|
|
grab_apk_from_repo ${fd_OSMAND_CONTOURLINES[@]}
|
2018-11-23 20:04:36 +00:00
|
|
|
}
|
2019-08-10 10:29:57 +00:00
|
|
|
|
|
|
|
update_osmand () {
|
|
|
|
update_act[4]='1'
|
|
|
|
}
|
|
|
|
|
|
|
|
update_master () {
|
|
|
|
[ "${update_act[0]}" = "1" ] && grab_microg
|
|
|
|
[ "${update_act[7]}" = "1" ] && grab_apk_from_repo ${fd_AURORADROID[@]}
|
|
|
|
[ "${update_act[8]}" = "1" ] && grab_apk_from_repo ${fd_AURORASTORE[@]}
|
|
|
|
[ "${update_act[9]}" = "1" ] && grab_apk_from_gitlab ${gl_AURORASERVICES[@]}
|
|
|
|
[ "${update_act[5]}" = "1" ] && grab_apk_from_repo ${fd_FDROID[@]}
|
|
|
|
[ "${update_act[6]}" = "1" ] && grab_apk_from_repo ${fd_FDROID_PE[@]}
|
2019-10-08 18:36:08 +00:00
|
|
|
[ "${update_act[10]}" = "1" ] && grab_apk_from_repo ${nlx_PHONESKY[@]}
|
2019-08-10 10:29:57 +00:00
|
|
|
[ "${update_act[3]}" = "1" ] && grab_bromite
|
|
|
|
[ "${update_act[4]}" = "1" ] && grab_osmand
|
2019-10-08 18:36:08 +00:00
|
|
|
[ "${update_act[11]}" = "1" ] && grab_apps
|
2019-08-10 10:29:57 +00:00
|
|
|
[ "${update_act[2]}" = "1" ] && grab_gsync
|
2019-10-23 17:21:44 +00:00
|
|
|
[ "${update_act[1]}" = "1" ] && grab_swipe
|
2019-08-10 10:29:57 +00:00
|
|
|
}
|