2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-11-03 23:15:54 +00:00
NanoDroid/data/build-package.pkg-misc
Christopher Roy Bratusek 90560c9433 build-package: fixup
2019-05-25 19:48:30 +02:00

94 lines
1.3 KiB
Bash

#!/bin/bash
create_patcher_package() {
ZIP="${CWD}/NanoDroid-patcher-${VERSION}".zip
rm -f "${ZIP}"*
print_package "Framework Patcher"
cd "${CWD}/patcher"
zip_add
cd "${CWD}/tools"
zip_add "busybox*"
cd "${CWD}"
zip_add_doc
sum_sign_package "${ZIP}"
}
mk_pkg_patcher () {
create_patcher_package &
progress $!
}
create_setupwizard_package() {
ZIP="${CWD}/NanoDroid-setupwizard-${VERSION}".zip
rm -f "${ZIP}"*
print_package "Setup Wizard"
cd "${CWD}/setup-wizard"
zip_add
cd "${CWD}"
zip_add_doc
sum_sign_package "${ZIP}"
}
mk_pkg_setupwizard () {
create_setupwizard_package &
progress $!
}
create_uninstaller_package() {
ZIP="${CWD}/NanoDroid-uninstaller-${VERSION}".zip
rm -f "${ZIP}"*
print_package "Uninstaller"
cd "${CWD}/uninstaller"
zip_add
cd "${CWD}"
cd "${CWD}/tools"
zip_add "busybox*"
cd "${CWD}"
zip_add_doc
sum_sign_package "${ZIP}"
}
mk_pkg_uninstaller () {
create_uninstaller_package &
progress $!
}
create_systest_package() {
ZIP="${CWD}/NanoDroid-systest-${VERSION}".zip
rm -f "${ZIP}"*
print_package "SysTest"
cd "${CWD}/systest"
zip_add
cd "${CWD}"
cd "${CWD}/tools"
zip_add "busybox*"
cd "${CWD}"
zip_add_doc
sum_sign_package "${ZIP}"
}
mk_pkg_systest () {
create_systest_package &
progress $!
}