diff --git a/.gitignore b/.gitignore index df8f529..1ccbe70 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,7 @@ user-data-dir/ pnacl/ +dist/ +node_modules/ # Object files *.o diff --git a/manifest.json b/manifest.json index c22799d..f0f0640 100644 --- a/manifest.json +++ b/manifest.json @@ -4,6 +4,11 @@ "short_name": "Moonlight", "version": "0.8.0", "description": "Open-source client for NVIDIA GameStream", + "build":{ + "nwFlavor": "sdk", + "excludes":["**/h264bitstream/**/*", "**/libgamestream/**/*", "**/moonlight-common-c/**/*", "**/opus/**/*", "**/ports/**/*", "**/*.cpp", "**/*.hpp", "**/*.c", "**/*.h", "**/*.md", +"make.bat", "Makefile", "**/*.mk", "package.json"] + }, "icons": { "128": "icons/icon128.png", "48": "icons/icon48.png", diff --git a/package.json b/package.json new file mode 100644 index 0000000..7b913dc --- /dev/null +++ b/package.json @@ -0,0 +1,24 @@ +{ + "name": "moonlight-chrome", + "version": "1.0.0", + "description": "Open-source client for NVIDIA GameStream", + "main":"index.html", + "repository": { + "type": "git", + "url": "git+https://github.com/cgutman/moonlight-chrome.git" + }, + "author": "", + "license": "GPLv3", + "bugs": { + "url": "https://github.com/cgutman/moonlight-chrome/issues" + }, + "homepage": "https://github.com/cgutman/moonlight-chrome#readme", + "devDependencies": { + "nwjs-builder-phoenix": "^1.14.6" + }, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1", + "dist": "build --chrome-app --tasks mac-x64,win-x64 --mirror https://dl.nwjs.io/ .", + "start": "run --x86 --mirror https://dl.nwjs.io/ ." + } +}