Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
5 changes: 0 additions & 5 deletions merges/browser/scripts/mobile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
6 changes: 0 additions & 6 deletions merges/ios/scripts/mobile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down