Skip to content

Commit

Permalink
Updated macOS menu name, and updated build parameters #21
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcelo Lv Cabral committed Oct 7, 2019
1 parent 6162441 commit 6bb5ec0
Show file tree
Hide file tree
Showing 3 changed files with 320 additions and 20 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ The binaries of this application are released together with the emulator library
Here are **optional** arguments you can use when starting the emulator at the command line:

```
brsEmuApp [[-o] <filePath>] [-f | --fullscreen] [-d | --devtools]
"BrightScript Emulator" [[-o] <filePath>] [-f | --fullscreen] [-d | --devtools]
```

|Argument |Description |
|-----------------------------------|-------------------------------------------------------------------|
|**-o** `<filePath>` or `<filePath>`| Opens a `.zip` or `.brs` when starting the emulator. |
|**-f** or **--fullscreen** | Opens the emulator in **full screen mode** (press F11 to restore).|
|**-d** or **--devtools** | Opens the **developer tools** when starting the emulator. |
|Argument |Description |
|-----------------------------------|-----------------------------------------------------------------------------|
|**-o** `<filePath>` or `<filePath>`| Opens a `.zip` or `.brs` when starting the emulator. |
|**-f** or **--fullscreen** | Opens the emulator in **full screen mode** (double-click screen to restore).|
|**-d** or **--devtools** | Opens the **developer tools** when starting the emulator. |

## Author Links
- My website is [https://lvcabral.com](https://lvcabral.com)
Expand Down
24 changes: 19 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,20 @@
"name": "brs-emu-app",
"productName": "BrightScript 2D API Emulator",
"description": "Desktop Emulator for Roku 2D API",
"version": "0.5.0",
"version": "0.5.1",
"private": true,
"author": "Marcelo Lv Cabral",
"copyright": "© 2019, Marcelo Lv Cabral",
"homepage": "https://lvcabral.com/brs/",
"repository": {
"type": "git",
"url": "https://github.com/lvcabral/brs-emu-app"
},
"main": "app/main.js",
"build": {
"appId": "com.lvcabral.brs-emu.app",
"productName": "brsEmuApp",
"artifactName": "brsEmuApp-${version}-setup.${ext}",
"productName": "BrightScript Emulator",
"artifactName": "brsEmuApp-${version}-${platform}.${ext}",
"files": [
"app/**/*",
"node_modules/**/*",
Expand All @@ -20,6 +24,15 @@
"directories": {
"buildResources": "resources"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"artifactName": "brsEmuApp-${version}-windows.${ext}"
},
"mac": {
"artifactName": "brsEmuApp-${version}-macOS.${ext}",
"category": "public.app-category.developer-tools"
},
"publish": null
},
"scripts": {
Expand All @@ -30,8 +43,8 @@
"e2e": "mocha temp/e2e.js --require source-map-support/register",
"test": "npm run unit && npm run e2e",
"start": "node build/start.js",
"dist": "webpack --config=build/webpack.app.config.js --env=production && electron-builder",
"dist-win-linux": "webpack --config=build/webpack.app.config.js --env=production && electron-builder -wl",
"dist": "webpack --config=build/webpack.app.config.js --env=production && electron-builder --x64 --ia32",
"dist-win-linux": "webpack --config=build/webpack.app.config.js --env=production && electron-builder -wl --x64 --ia32",
"dist-arm": "electron-packager . brsEmuApp --out=./dist --platform=linux --arch=armv7l --overwrite",
"release": "npm test && webpack --config=build/webpack.app.config.js --env=production && electron-builder"
},
Expand All @@ -52,6 +65,7 @@
"electron": "^6.0.10",
"electron-builder": "^21.1.5",
"electron-mocha": "^8.1.1",
"electron-packager": "^14.0.6",
"friendly-errors-webpack-plugin": "^1.7.0",
"mocha": "^6.2.0",
"source-map-support": "^0.5.6",
Expand Down
Loading

0 comments on commit 6bb5ec0

Please sign in to comment.