2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-11-07 15:20:36 +00:00
NanoDroid/data/build-package.pkg-misc

89 lines
1.2 KiB
Plaintext
Raw Normal View History

2018-01-23 20:11:52 +00:00
#!/bin/bash
create_patcher_package() {
ZIP="${CWD}/NanoDroid-patcher-${VERSION}".zip
2018-11-10 07:56:59 +00:00
rm -f "${ZIP}"*
2018-01-23 20:11:52 +00:00
print_package "Framework Patcher"
cd "${CWD}/patcher"
zip_add
cd "${CWD}"
2018-08-26 16:59:34 +00:00
zip_add busybox.arm
zip_add busybox.x86
2018-01-23 20:11:52 +00:00
zip_add_doc
sum_sign_package "${ZIP}"
2018-01-23 20:11:52 +00:00
}
mk_pkg_patcher () {
create_patcher_package &
progress $!
}
create_setupwizard_package() {
ZIP="${CWD}/NanoDroid-setupwizard-${VERSION}".zip
2018-11-11 09:33:49 +00:00
rm -f "${ZIP}"*
2018-01-23 20:11:52 +00:00
print_package "Setup Wizard"
cd "${CWD}/setup-wizard"
zip_add
cd "${CWD}"
zip_add_doc
sum_sign_package "${ZIP}"
2018-01-23 20:11:52 +00:00
}
mk_pkg_setupwizard () {
create_setupwizard_package &
progress $!
}
create_uninstaller_package() {
ZIP="${CWD}/NanoDroid-uninstaller-${VERSION}".zip
2018-11-11 09:33:49 +00:00
rm -f "${ZIP}"*
2018-01-23 20:11:52 +00:00
print_package "Uninstaller"
cd "${CWD}/uninstaller"
zip_add
cd "${CWD}"
2018-08-26 16:59:34 +00:00
zip_add busybox.arm
zip_add busybox.x86
2018-01-23 20:11:52 +00:00
zip_add_doc
sum_sign_package "${ZIP}"
2018-01-23 20:11:52 +00:00
}
mk_pkg_uninstaller () {
create_uninstaller_package &
progress $!
}
2018-11-20 17:25:52 +00:00
create_systest_package() {
ZIP="${CWD}/NanoDroid-systest-${VERSION}".zip
rm -f "${ZIP}"*
print_package "SysTest"
cd "${CWD}/systest"
zip_add
cd "${CWD}"
zip_add busybox.arm
zip_add busybox.x86
2018-11-20 17:25:52 +00:00
zip_add_doc
sum_sign_package "${ZIP}"
}
mk_pkg_systest () {
create_systest_package &
progress $!
}