Generally speaking, you may have 2 reasons:
- To speed up your app's loading performance.
- You do not want to share your source code to the end user.
- Clone this repository
- cd the repository folder and run
git submodule update --recursive --init
- Make sure you have
Node.js
andJRE
installed. - Copy your app into the root folder of this repo, the folder structure is like this:
wab-app-build-script/config.json
- Please note: Please copy
package.js
andpackage.json
intowidgets
folder andthemes
folder from stemapp if they are not existed.
- Please note: Please copy
- Open
cmd
, cd folderbuildScripts
, runnpm install
, then runbuild.bat
. - Waiting for the build process to complete. The build output will be available at
buildOutput/app
folder.