# using classic toolkit for web application
# sencha -sdk /opt/sdk/extjs/ext-6.2.0-gpl generate app -classic Web ./ui.web
sencha -sdk /d/opt/sdk/extjs/ext-6.2.0-gpl generate app -classic Web ./ui.web
sed -i 's/"theme": "theme-triton"/"theme": "theme-crisp"/g' ./ui.web/app.json
#cd ui.web;sencha app build --clean --environment development
#cd ui.web;sencha app build --clean --environment production
cd ui.web;sencha app build
#sencha app refresh
#sencha app watch
sencha web start
# using modern toolkit for mobile application
# sencha -sdk /opt/sdk/extjs/ext-6.2.0-gpl generate app -modern Mob ./ui.mob
sencha -sdk /d/opt/sdk/extjs/ext-6.2.0-gpl generate app -modern Mob ./ui.mob
sed -i 's/"theme": "theme-triton"/"theme": "theme-ios"/g' ./ui.mob/app.json
#cd ui.mob;sencha app build --clean --environment development
#cd ui.mob;sencha app build --clean --environment production
cd ui.mob;sencha app build
#sencha app refresh
#sencha app watch
sencha web start