2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-10-31 09:20:23 +00:00

change paths

This commit is contained in:
Christopher Roy Bratusek 2019-07-21 21:33:28 +02:00
parent 2debfe9b30
commit 328c6aa8d8
92 changed files with 11 additions and 11 deletions

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 64 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 536 B

After

Width:  |  Height:  |  Size: 536 B

View File

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

View File

Before

Width:  |  Height:  |  Size: 308 B

After

Width:  |  Height:  |  Size: 308 B

View File

Before

Width:  |  Height:  |  Size: 475 B

After

Width:  |  Height:  |  Size: 475 B

View File

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -112,26 +112,26 @@ increase_version_number () {
for file in "build-package" "CommonInstaller" \ for file in "build-package" "CommonInstaller" \
"systest/SysTest" "patcher/CommonPatcher" \ "systest/SysTest" "patcher/CommonPatcher" \
"setup-wizard/nanodroid-setup" "CommonAddon" \ "SetupWizard/nanodroid-setup" "CommonAddon" \
"uninstaller/META-INF/com/google/android/update-binary"; do "uninstaller/META-INF/com/google/android/update-binary"; do
sed -e "s/^VERSION=.*/VERSION=${2}.${ver}/" -i "${CWD}/${file}" sed -e "s/^VERSION=.*/VERSION=${2}.${ver}/" -i "${CWD}/${file}"
done done
for module in Full microG F-Droid BromiteWebView OsmAnd; do for module in Full microG FDroid BromiteWebView OsmAnd; do
sed -e "s/version=.*/version=v${2}.${ver}/" -i \ sed -e "s/version=.*/version=v${2}.${ver}/" -i \
"${CWD}/${module}/module.prop" "${CWD}/${module}/module.prop"
done done
sed -e "s/rom_version\",.*/rom_version\", \"${2}\")\;/" -i \ sed -e "s/rom_version\",.*/rom_version\", \"${2}\")\;/" -i \
"${CWD}/setup-wizard/META-INF/com/google/android/aroma-config" "${CWD}/SetupWizard/META-INF/com/google/android/aroma-config"
sed -e "s/rom_date\",.*/rom_date\", \"${ver}\")\;/" -i \ sed -e "s/rom_date\",.*/rom_date\", \"${ver}\")\;/" -i \
"${CWD}/setup-wizard/META-INF/com/google/android/aroma-config" "${CWD}/SetupWizard/META-INF/com/google/android/aroma-config"
exit 0 exit 0
} }
increase_module_version () { increase_module_version () {
for module in Full microG F-Droid BromiteWebView OsmAnd; do for module in Full microG FDroid BromiteWebView OsmAnd; do
eval $(grep versionCode "${PWD}"/"${module}"/module.prop) eval $(grep versionCode "${PWD}"/"${module}"/module.prop)
versionCode=$((versionCode+1)) versionCode=$((versionCode+1))
sed -e "s/versionCode.*/versionCode=${versionCode}/" \ sed -e "s/versionCode.*/versionCode=${versionCode}/" \
@ -169,12 +169,12 @@ update contents:
u-gsync | update Google Sync Adapters u-gsync | update Google Sync Adapters
create zip files: create zip files:
full | create full package zip from repo full | create Full package zip from repo
microg | create microG package zip from repo microg | create microG package zip from repo
fdroid | create F-Droid package zip from repo fdroid | create FDroid package zip from repo
patcher | create framework patcher zip from repo patcher | create framework patcher zip from repo
uninstaller | create uninstaller zip from repo uninstaller | create uninstaller zip from repo
setupwizard | create setup-wizard zip from repo setupwizard | create SetupWizard zip from repo
bromitewebview | create Bromite WebView zip from repo bromitewebview | create Bromite WebView zip from repo
osmand | create OsmAnd package zip from repo osmand | create OsmAnd package zip from repo
all | create all zips from repo all | create all zips from repo

View File

@ -36,9 +36,9 @@ mk_pkg_microg () {
create_fdroid_package() { create_fdroid_package() {
ZIP="NanoDroid-fdroid-${VERSION}".zip ZIP="NanoDroid-fdroid-${VERSION}".zip
print_package "F-Droid" print_package "FDroid"
zip_add F-Droid zip_add FDroid
zip_add_config .nanodroid-setup 0 zip_add_config .nanodroid-setup 0
sum_sign_package sum_sign_package
@ -101,7 +101,7 @@ create_setupwizard_package() {
print_package "Setup Wizard" print_package "Setup Wizard"
zip_add setup-wizard zip_add SetupWizard
sum_sign_package sum_sign_package
} }