mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-12-23 10:38:55 +00:00
Fixed -h option's conflict on cli
This commit is contained in:
parent
b7433dfc3b
commit
c85696f218
@ -146,7 +146,7 @@ Use a counter that persists even with window focus for the application badge for
|
||||
#### [width]
|
||||
|
||||
```
|
||||
-w, --width <value>
|
||||
--width <value>
|
||||
```
|
||||
|
||||
Width of the packaged application, defaults to `1280px`.
|
||||
@ -154,7 +154,7 @@ Width of the packaged application, defaults to `1280px`.
|
||||
#### [height]
|
||||
|
||||
```
|
||||
-h, --height <value>
|
||||
--height <value>
|
||||
```
|
||||
|
||||
Height of the packaged application, defaults to `800px`.
|
||||
|
@ -60,8 +60,8 @@ if (require.main === module) {
|
||||
.option('-c, --conceal', 'packages the source code within your app into an archive, defaults to false, see http://electron.atom.io/docs/v0.36.0/tutorial/application-packaging/')
|
||||
.option('--counter', 'if the target app should use a persistant counter badge in the dock (OSX only), defaults to false')
|
||||
.option('-i, --icon <value>', 'the icon file to use as the icon for the app (should be a .icns file on OSX)')
|
||||
.option('-w, --width <value>', 'set window width, defaults to 1280px', parseInt)
|
||||
.option('-h, --height <value>', 'set window height, defaults to 800px', parseInt)
|
||||
.option('--width <value>', 'set window width, defaults to 1280px', parseInt)
|
||||
.option('--height <value>', 'set window height, defaults to 800px', parseInt)
|
||||
.option('-u, --user-agent <value>', 'set the user agent string for the app')
|
||||
.option('--honest', 'prevent the nativefied app from changing the user agent string to masquerade as a regular chrome browser')
|
||||
.parse(process.argv);
|
||||
|
Loading…
Reference in New Issue
Block a user