2019-07-08 15:49:40 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
create_full_package () {
|
|
|
|
ZIP="NanoDroid-${VERSION}.zip"
|
|
|
|
|
|
|
|
print_package "Full"
|
|
|
|
|
|
|
|
zip_add Full
|
2019-08-02 17:27:50 +00:00
|
|
|
zip_add_setup 1
|
2019-07-08 15:49:40 +00:00
|
|
|
|
2019-08-08 19:42:58 +00:00
|
|
|
sum_sign_package "${ZIP}"
|
2019-07-08 15:49:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
mk_pkg_full () {
|
|
|
|
create_full_package &
|
|
|
|
progress $!
|
|
|
|
}
|
|
|
|
|
|
|
|
create_microg_package() {
|
|
|
|
ZIP="NanoDroid-microG-${VERSION}.zip"
|
|
|
|
|
|
|
|
print_package "microG"
|
|
|
|
|
|
|
|
zip_add microG
|
2019-08-02 17:27:50 +00:00
|
|
|
zip_add_setup 0
|
2019-07-08 15:49:40 +00:00
|
|
|
|
2019-08-08 19:42:58 +00:00
|
|
|
sum_sign_package "${ZIP}"
|
2019-07-08 15:49:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
mk_pkg_microg () {
|
|
|
|
create_microg_package &
|
|
|
|
progress $!
|
|
|
|
}
|
|
|
|
|
|
|
|
create_fdroid_package() {
|
|
|
|
ZIP="NanoDroid-fdroid-${VERSION}".zip
|
|
|
|
|
2019-07-21 19:33:28 +00:00
|
|
|
print_package "FDroid"
|
2019-07-08 15:49:40 +00:00
|
|
|
|
2019-07-21 19:33:28 +00:00
|
|
|
zip_add FDroid
|
2019-08-02 17:27:50 +00:00
|
|
|
zip_add_setup 0
|
2019-07-08 15:49:40 +00:00
|
|
|
|
2019-08-08 19:42:58 +00:00
|
|
|
sum_sign_package "${ZIP}"
|
2019-07-08 15:49:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
mk_pkg_fdroid () {
|
|
|
|
create_fdroid_package &
|
|
|
|
progress $!
|
|
|
|
}
|
|
|
|
|
|
|
|
create_bromite_webview_package () {
|
|
|
|
ZIP="NanoDroid-BromiteWebView-${VERSION}.zip"
|
|
|
|
|
|
|
|
print_package BromiteWebView
|
|
|
|
|
|
|
|
zip_add BromiteWebView
|
2019-08-02 17:27:50 +00:00
|
|
|
zip_add_setup 0
|
2019-07-08 15:49:40 +00:00
|
|
|
|
2019-08-08 19:42:58 +00:00
|
|
|
sum_sign_package "${ZIP}"
|
2019-07-08 15:49:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
mk_pkg_bromite_webview () {
|
|
|
|
create_bromite_webview_package &
|
|
|
|
progress $!
|
|
|
|
}
|
|
|
|
|
|
|
|
create_osmand_package() {
|
|
|
|
ZIP="NanoDroid-OsmAnd-${VERSION}.zip"
|
|
|
|
|
|
|
|
print_package "OsmAnd"
|
|
|
|
|
|
|
|
zip_add OsmAnd
|
2019-08-02 17:27:50 +00:00
|
|
|
zip_add_setup 0
|
2019-07-08 15:49:40 +00:00
|
|
|
|
2019-08-08 19:42:58 +00:00
|
|
|
sum_sign_package "${ZIP}"
|
2019-07-08 15:49:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
mk_pkg_osmand () {
|
|
|
|
create_osmand_package &
|
|
|
|
progress $!
|
|
|
|
}
|
|
|
|
|
|
|
|
create_patcher_package() {
|
|
|
|
ZIP="NanoDroid-patcher-${VERSION}.zip"
|
|
|
|
|
|
|
|
print_package "Framework Patcher"
|
|
|
|
|
|
|
|
zip_add patcher
|
|
|
|
|
2019-08-08 19:42:58 +00:00
|
|
|
sum_sign_package "${ZIP}"
|
2019-07-08 15:49:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
mk_pkg_patcher () {
|
|
|
|
create_patcher_package &
|
|
|
|
progress $!
|
|
|
|
}
|
|
|
|
|
|
|
|
create_setupwizard_package() {
|
|
|
|
ZIP="NanoDroid-setupwizard-${VERSION}.zip"
|
|
|
|
|
|
|
|
print_package "Setup Wizard"
|
|
|
|
|
2019-07-21 19:33:28 +00:00
|
|
|
zip_add SetupWizard
|
2019-07-08 15:49:40 +00:00
|
|
|
|
2019-08-08 19:42:58 +00:00
|
|
|
sum_sign_package "${ZIP}"
|
2019-07-08 15:49:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
mk_pkg_setupwizard () {
|
|
|
|
create_setupwizard_package &
|
|
|
|
progress $!
|
|
|
|
}
|
|
|
|
|
|
|
|
create_uninstaller_package() {
|
|
|
|
ZIP="NanoDroid-uninstaller-${VERSION}.zip"
|
|
|
|
|
|
|
|
print_package "Uninstaller"
|
|
|
|
|
|
|
|
zip_add uninstaller
|
|
|
|
|
2019-08-08 19:42:58 +00:00
|
|
|
sum_sign_package "${ZIP}"
|
2019-07-08 15:49:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
mk_pkg_uninstaller () {
|
|
|
|
create_uninstaller_package &
|
|
|
|
progress $!
|
|
|
|
}
|
|
|
|
|
|
|
|
create_systest_package() {
|
|
|
|
ZIP="NanoDroid-systest-${VERSION}.zip"
|
|
|
|
|
|
|
|
print_package "SysTest"
|
|
|
|
|
|
|
|
zip_add systest
|
|
|
|
|
2019-08-08 19:42:58 +00:00
|
|
|
sum_sign_package "${ZIP}"
|
2019-07-08 15:49:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
mk_pkg_systest () {
|
|
|
|
create_systest_package &
|
|
|
|
progress $!
|
|
|
|
}
|