From 9902aef509fc84770dccbf81acef0c42e0afcb04 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Wed, 1 Apr 2020 10:06:56 -0400 Subject: fix build script version extraction (got messed up after formatting config.xml) --- build_android.sh | 10 +- build_ios.sh | 4 +- config.xml | 373 +++++++++++++++++++++---------------------- electron_js/sync_versions.sh | 2 +- 4 files changed, 195 insertions(+), 194 deletions(-) diff --git a/build_android.sh b/build_android.sh index 290daf2b..b369301e 100755 --- a/build_android.sh +++ b/build_android.sh @@ -101,7 +101,7 @@ done ./electron_js/sync_versions.sh -APPVER=`cat config.xml | grep "widget " | sed 's/.* version=\"\([^\"]*\)\" xmlns.*/\1/'` +APPVER=`cat config.xml | grep " /dev/null 2>&1 + +echo "Adding cordova-plugin-certificates-pp-fork..." cordova plugin add cordova-plugin-certificates-pp-fork > /dev/null 2>&1 @@ -123,9 +125,9 @@ fi -echo "Adding back wkwebview and removing certificate fork..." +echo "Removing certificate fork..." cordova plugin remove cordova-plugin-certificates-pp-fork > /dev/null 2>&1 -cordova plugin add https://github.com/pliablepixels/cordova-plugin-ionic-webview.git > /dev/null 2>&1 +#cordova plugin add https://github.com/pliablepixels/cordova-plugin-ionic-webview.git > /dev/null 2>&1 echo "If you faced DEX etc goofy errors, cd platforms/android && gradle clean or try removing/adding android" diff --git a/build_ios.sh b/build_ios.sh index 9598aab9..9dc82f27 100755 --- a/build_ios.sh +++ b/build_ios.sh @@ -3,8 +3,10 @@ echo "see https://forum.ionicframework.com/t/how-to-build-ionic-cordova-with-xco if [ "$1" != "skip" ] then - ionic cordova plugin remove cordova-plugin-ionic-webview 2>/dev/null +# ionic cordova plugin remove cordova-plugin-ionic-webview 2>/dev/null + echo "Adding wkwebview..." ionic cordova plugin add https://github.com/pliablepixels/cordova-plugin-ionic-webview.git + echo "Resetting media fork..." cordova plugin remove cordova-plugin-media-pp-fork cordova plugin add cordova-plugin-media-pp-fork else diff --git a/config.xml b/config.xml index 5293756c..9b39d38d 100644 --- a/config.xml +++ b/config.xml @@ -1,195 +1,192 @@ - - zmNinja - + + zmNinja + High performance ZoneMinder client - + Pliable Pixels - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - NSAllowsArbitraryLoads - - - - - Store photos of events and live feeds - - - Store photos of events and live feeds - - - Use Face ID for authentication into app - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + NSAllowsArbitraryLoads + + + + + Store photos of events and live feeds + + + Store photos of events and live feeds + + + Use Face ID for authentication into app + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/electron_js/sync_versions.sh b/electron_js/sync_versions.sh index 74193934..1f47d244 100755 --- a/electron_js/sync_versions.sh +++ b/electron_js/sync_versions.sh @@ -1,5 +1,5 @@ #!/bin/bash -APPVER=`cat config.xml | grep "widget " | sed 's/.* version=\"\([^\"]*\)\" xmlns.*/\1/'` +APPVER=`cat config.xml | grep "