From ee042fc7bfa55ffa2c3b4471276a3b3a7cf95dea Mon Sep 17 00:00:00 2001
From: Pliable Pixels NOTE If you want to run it on your desktop, you can directly
download desktop binaries
-here
+here
and if you want it for Android/iOS you can get from the play/appstore.
This is only for those who want to run from source.Building from Source¶
@@ -278,6 +277,31 @@ version
As of Mar 2019, cordova-ios does not support multiple targets, nor does +it support automatic building of notification extensions. So there is manual work to be done:
+platforms/ios/zmNinja.xcworkspace in XCodeFile->New->Target->Notification Service Extension, select Objective CzmNinjaNotification (your BundleID should now read com.pliablepixels.zmninja-pro.zmNinjaNotification)zmNinjaNotification, and make sure you select a Team and make sure Deployment Target is 10 or above`cp www/external/NotificationService.m platforms/ios/zmNinjaNotication/cd platforms/ios/pod installYou can now do build_ios.sh. However, after you build, you will have to go back to XCode +after the build to make the following changes:
+There are a few steps you need to take to get the iOS build working for
the first time. If you don’t do this, you may get a compilation error
that says ld: library not found for -lGoogleToolboxForMac
Note that you need the Android @@ -346,44 +371,6 @@ to automate the build process better.
Your packages will be created in the dist folder
npm install -g electron
-npm install -g asar
-Make sure electron is installed. You should be able to do a
-which electron
Also make sure unzip and wget tools are installed in your
-system.
If this is the first time you are building a desktop version, you need
-to download electron images for various platforms. There is a helper
-script called prepare_desktop.sh that you can run. This creates a
-directory called desktop inside your zmNinja directory. It currently
-downloads all supported platforms.
./prepare_desktop.sh
-This will download a bunch of files. If completed successfully, you can -proceed to the next step.
-Once you are done with prepare_desktop.sh, you can do a
-./make_desktop.sh. This will actually build images for all
-platforms.
cd into the desktop directory and run whichever port you want
You need to ./make_desktop.sh each time you make changes.