Comments (8)
Why not make all options available in package.json?
from nw-builder.
+1 for all options in package.json and/or all options available as cli arguments. Situation right now is somewhat confusing.
from nw-builder.
Here's a bit of an overview of what is/isn't supported.
Options:
-p, --platforms Platforms to build, comma-sperated, can be: win,osx,linux32,linux64 [default: "osx,win"]
-v, --version The nw version, eg. 0.8.4 [default: "latest"]
-r, --run Runs node-webkit for the current platform [default: false]
-o, --buildDir The build folder [default: "./build"]
-f, --forceDownload Force download of node-webkit [default: false]
--quiet Disables logging [default: false]
Options
- options.files Required
- options.version
- options.platforms
- options.appName
- options.appVersion
- options.buildDir
- options.cacheDir
- options.buildType (which is a bad name for this option, by the way ‡)
- options.forceDownload
- options.macCredits
- options.macIcns
- options.macZip
- options.macPlist
- options.winIco
‡ This should be called something like "namingScheme", or better yet "buildNamingScheme". It's bad form to pass options by scope. Options should be passed with an object as a parameter. It's better form and even potentially faster to type.
from nw-builder.
Here we go #73:
Usage: nwbuild [options] [path]
Options:
-p, --platforms Platforms to build, comma-sperated, can be: win,osx,linux32,linux64 [default: "osx,win"]
-v, --version The nw version, eg. 0.8.4 [default: "latest"]
-r, --run Runs node-webkit for the current platform [default: false]
-o, --buildDir The build folder [default: "./build"]
-f, --forceDownload Force download of node-webkit [default: false]
--appName The name of your node-webkit app [default: false]
--appVersion The version of your node-webkit app [default: false]
--cacheDir The directory to store cached node-webkit downloads [default: false]
--buildNamingScheme How you want to name your builds, one of "default", "versioned", or "timestamped" [default: "default"]
--macCredits MAC ONLY: The path to your credits.html file [default: false]
--macIcns MAC ONLY: The path to your ICNS icon file [default: false]
--macZip MAC ONLY: Use a app.nw folder instead of ZIP file [default: false]
--macPlist MAC ONLY: if you supply a path to a Plist file it will use it [default: false]
--winIco WINDOWS ONLY: The path to your ICO icon file (requires Windows/Wine) [default: null]
--quiet Disables logging [default: false]
- options.files Required
- options.version
- options.platforms
- options.appName
- options.appVersion
- options.buildDir
- options.cacheDir
-
options.buildTypeoptions.buildNamingScheme - options.forceDownload
- options.macCredits
- options.macIcns
- options.macZip
- options.macPlist
- options.winIco
💥
from nw-builder.
"Boom!"
😄
from nw-builder.
I want this feature 😍
from nw-builder.
I'd really appreciate it if someone could make a pull-request to add these please 😄
from nw-builder.
Why use this over electron?
from nw-builder.
Related Issues (20)
- unzipper failed. Emitted 'error' event on DuplexWrapper instance at #289 HOT 8
- nw-builder 4.5.3 requires WINE on Windows 11 HOT 3
- Compress `outDir` to `zip`, `tar`, `tgz` formats
- [osx64] Unable to set icon - results in blank icon HOT 4
- [osx64] Copyright is not configurable - always set to default nwjs HOT 10
- Windows Store compatible
- Build fails with "package.json not found in srcDir file glob patterns" error HOT 9
- Executable file if run on another machine fails HOT 15
- Improvements to bring in line with nwjs-builder-phoenix HOT 6
- Problem building 0.78.1 + osx + arm64 HOT 5
- libffmpeg not being installed into correct folder HOT 5
- on some macOS, symbolic links are copied as files and link is lost
- Symlinks are copied as files on decompress HOT 9
- `argv` is not properly handled
- linux platform builds with ffmpeg enabled fail with zlib error '[ ERROR ] incorrect header check' HOT 2
- Enabling and disabling `options.ffmpeg` still uses community FFmpeg on successive build HOT 4
- Rename MacOS Helpers HOT 3
- Node Native Addon (gyp, nan, cmake, ffi)
- Canary builds HOT 1
- nw-builder download stuck HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nw-builder.