Skip to content

Commit

Permalink
chore: create CLI command to build and execute Windows NW.js demo app
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushmanchhabra committed Nov 8, 2024
1 parent 8bfbcea commit 9aaa5d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"test": "vitest run --coverage",
"test:cov": "vitest --coverage.enabled true",
"demo:bld:osx": "node ./tests/fixtures/demo.osx.js",
"demo:bld:win": "node ./tests/fixtures/demo.osx.js",
"demo:bld:win": "node ./tests/fixtures/demo.win.js",
"demo:exe:osx": "./tests/fixtures/out/osx/Demo.app/Contents/MacOS/Demo",
"demo:exe:win": "./tests/fixtures/out/win/Demo.exe",
"demo:cli": "nwbuild --mode=run --flavor=sdk --glob=false --cacheDir=./node_modules/nw ./tests/fixtures/app"
Expand Down
1 change: 1 addition & 0 deletions tests/fixtures/demo.win.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ await nwbuild({
cacheDir: './node_modules/nw',
outDir: './tests/fixtures/out/win',
glob: false,
logLevel: 'debug',
app: {
name: 'Demo',
/* Relative to where the manifest will be located */
Expand Down

0 comments on commit 9aaa5d7

Please sign in to comment.