diff --git a/README.md b/README.md index 353ada0..5160b1e 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,12 @@ Build System Designer for iOS: npx cordova build ios ``` +Run System Designer for iOS: + +```sh + npx cordova run ios +``` + ## Build for Android Add Android platform: @@ -48,6 +54,20 @@ Build System Designer for Android: npx cordova build android ``` +## Build for Browser + +Add Browser platform: + +```sh +npx cordova platform add browser +``` + +Run System Designer for Browser: + +```sh +npx cordova run browser +``` + ## License Copyright 2024 Erwan Carriou diff --git a/merges/browser/scripts/mobile.js b/merges/browser/scripts/mobile.js index 22f3ea8..d60cb86 100644 --- a/merges/browser/scripts/mobile.js +++ b/merges/browser/scripts/mobile.js @@ -18,11 +18,6 @@ * limitations under the License. */ -document.addEventListener('deviceready', onDeviceReady, false); -function onDeviceReady() { - StatusBar.hide(); -} - document.addEventListener('menubutton', onMenuButton, false); function onMenuButton() { if (document.location.href.indexOf('/app/') !== -1) { diff --git a/merges/ios/scripts/mobile.js b/merges/ios/scripts/mobile.js index 64eef8d..a225d5d 100644 --- a/merges/ios/scripts/mobile.js +++ b/merges/ios/scripts/mobile.js @@ -18,12 +18,6 @@ * limitations under the License. */ -document.addEventListener('deviceready', onDeviceReady, false); - -function onDeviceReady() { - StatusBar.hide(); -} - document.addEventListener('menubutton', onMenuButton, false); function onMenuButton() { if (document.location.href.indexOf('/app/') !== -1) {