2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-12-23 02:28:55 +00:00
Commit Graph

328 Commits

Author SHA1 Message Date
Ronan Jouchet
039ad50fa6 eslint 2018-05-11 16:58:36 -04:00
Ronan Jouchet
6a8114e505 Fix deprecations: electron-packager cb->promise, mocha compilers->require 2018-05-11 16:55:50 -04:00
David Kramer
be25eab45d Fix #547 - Default to Electron 2.0.0 and review deprecations (PR #587) 2018-05-01 19:29:03 -04:00
Ronan Jouchet
e62b45b697 Default to electron 1.8.6, dep bump electron-packager 2018-05-01 18:56:23 -04:00
David Kramer
92bc44a712 Fix #94, #575: Fix run-time crash due to insufficient permissions (PR #581) 2018-04-22 16:55:46 -04:00
David Kramer
2d09455c17 Fix #574 - Allow build to continue if icon conversion fails (PR#585)
By unsetting `options.icon` if input cannot be converted.
2018-04-22 15:57:58 -04:00
David Kramer
bbb513d420 Fix #364 - Add --disable-gpu flag to disable hardware acceleration (PR #584) 2018-04-22 15:56:10 -04:00
Matt Rose
574205ab0d macOS: Add --bounce option for dock counter (PR #570) 2018-04-14 17:17:25 -04:00
Goh Jia Hao
bb67448328 Fix infer icon url #529 2018-03-29 19:38:04 -07:00
sgroh
46d381481c Fix #549: Add --always-on-top build flag (PR #551) 2018-03-16 18:15:44 -04:00
Ronan Jouchet
8981e55783 Update deps, default to Electron 1.8.4 stable
Semver-major deps upgrades: axios electron-packager require-dir
2018-03-16 17:54:19 -04:00
Ronan Jouchet
fc4d365987 Update deps, default to Electron 1.8.2 stable
Semver-major deps upgrades: babel-jest electron-packager gulp-mocha jest shelljs
2018-02-06 21:56:58 -05:00
David Ollerhead
e1909bf5c8 Support Mac App Store (--mas) builds (PR #532) 2018-02-02 08:06:29 -05:00
Bob Roth
cec9c4b819 Fix #499: Add options to control file download behavior (PR #526) 2018-01-26 09:59:58 -05:00
Matt Harris
28dca8c647 Fix #325 - Add --x and --y window position flags (PR #515) 2017-12-26 13:00:39 -05:00
Matt Harris
eb08d85830 Fix #480 - Move all console.* to loglevel.* calls, eslint-fail on console.* (PR #507) 2017-12-19 08:42:06 -05:00
Paul-Louis NECH
2ca1b67265 Fix #496 - Recommend .png for --icon on all platforms, even macOS (PR #502) 2017-12-09 22:01:28 +02:00
Ronan Jouchet
6fb3b92eb8
Upgrade dependencies and default to latest Electron 1.7.9 (PR #483)
* Update deps except eslint
* Update eslint and lint:fix (WIP, needs manual fixing for remaining 44 problems)
* Manually fix remaining eslint errors
* Document deprecation of `version-string` as of electron-packager 9.0.0
* Upgrade to Electron 1.7.9 (chrome-58, node-7.9.0, v8-5.8)
* npm: Disable generation of package-lock.json and gitignore it
  --Trying this, package-lock is a pain in PRs. May not be a good idea
  (obviously we lose deps pinning), will revert if necessary.--
* npm tasks: add dev-up-win for Windows developers,
  and e2e for end-to-end tests. Update docs.
* Move normalizeUrl test to a jest unit test, makes no sense to be in the mocha e2e tests
* Switch from babel-preset-es2015 to babel-preset-env,
  with target.node=4.0. Seem like it's today's most convenient
  way to support the latest ES and let babel transpile to what
  makes sense for our currently minimal node version
2017-11-14 08:05:01 -05:00
omouren
885790bc22 Fix #304 - Add --tray CLI flag to let app running in background on window close. Supports in-title counter. (#457) 2017-10-05 19:32:48 -04:00
Devin Buhl
4c581f9067 Fix #275 - Add HTTP --basic-auth-{username,password} CLI flags (#444) 2017-10-05 18:44:03 -04:00
Bob Roth
3e7cec2ecb Fix #438 - Add missing params to buildApp (#450) 2017-10-03 12:02:41 -04:00
Matt Harris
ede0bd8ca6 Fix #448 - Add offline build detection and advice (#452) 2017-10-03 11:58:00 -04:00
Bob Roth
c9d2040327 Allow nativefier to set process.env variables (#419) 2017-08-16 10:20:43 -04:00
Bob Roth
fc7a213a87 Fix #226 - Added support for app-copyright, app-version, build-version, version-string and win32metadata (#244) 2017-08-15 14:18:44 -04:00
David Pacheco
38825e8b71 Add options (--ignore-gpu-blacklist and --enable-es3-apis) to allow for WebGl apps to work on legacy or unsupported graphics cards by Chrome (#410) 2017-07-13 12:23:07 -04:00
romo-dw
ab435ee5a6 Add support for --disk-cache-size Electron flag (PR #400) 2017-07-05 09:07:31 -04:00
Stefan Koshy
91505c90fe Fix #28 - Executable name being 'Electron' always under Windows (PR #389) 2017-06-18 19:13:35 -04:00
Jia Hao Goh
f91b2ba43d Fix bug resolving promises
When a explicit argument is passed for `--icon` or `--user-agent`, the
promise chain will fail because we do not return a resolved promise.
2017-05-19 20:50:09 +08:00
Jia Hao Goh
1505933826 Promisfy and parallelise config, add unit tests
Instead of optionsMain exporting an async function, this commit changes
it to return a promise instead. We split all the needed async
helpers for this config builder into smaller promises, in `src/options/*`. Another side
effect of this is that we perform all our async config inferring in
parallel, which speeds up the nativefier CLI.

Add proper unit tests as well for all of these promises. Switch to
Jest for these unit tests, and we are temporarily running both Jest and
mocha together in `npm test`. To refactor all the Mocha code to use Jest in
a future commit.
2017-05-07 15:49:15 +08:00
Matt Harris
10eaa53b26 Add ARM build support (#360) 2017-05-06 15:11:51 -04:00
Jia Hao Goh
8f78dd03af Update eslint and use Airbnb style
- Add `npm run lint:fix` command
- Cleanup inferIcon.js logic slightly
2017-04-29 22:52:12 +08:00
Darren Haken
461c7a38f0 Change Mocha to not need a babel build to run (#349)
* Change Mocha to not need a babel build to run

- Also add tests around normalizeUrl

* PR 359 Apply changes due to comments

- Remove babelrc as its in the package.json
- Change tdd npm task to use gulp
- Remove source map support file from import list for normalizeUrlSpec
- Change gulp tdd task to run mocha on first run
 359 Apply changes due to comments

 - Remove babelrc as its in the package.json
 - Change tdd npm task to use gulp
 - Remove source map support file from import list for normalizeUrlSpec
 - Change gulp tdd task to run mocha on first run
 359 Apply changes due to comments

 - Remove babelrc as its in the package.json
 - Change tdd npm task to use gulp
 - Remove source map support file from import list for normalizeUrlSpec
 - Change gulp tdd task to run mocha on first run
2017-04-25 16:04:57 +01:00
Jia Hao Goh
b467ac7a51 Promisify inferTitle module
Also remove the request dependency, use Axios instead
2017-04-21 00:24:48 +08:00
Ronan Jouchet
be4b9a7436 Fix #327 - Update dependencies (except eslint), default to Electron 1.6.6 (#341) 2017-04-18 17:30:54 -04:00
Ronan Jouchet
f4f74224de Fix #308 - Allow mDNS addresses (ending with 'local.') during URL validation (#346) 2017-04-18 17:30:00 -04:00
Ronan Jouchet
a09ae9fe4e CLI help: clarify --inject supports both JS & CSS (#340) 2017-04-16 17:19:03 +01:00
Krzysztof Zbiciński
da637ebf73 Add --single-instance switch (#323) 2017-04-09 22:02:49 -04:00
Goh Jia Hao
f63f2e9e2b Merge branch 'master' into development
- Pull request was accidentally merged into master
2016-10-09 13:52:50 +08:00
Lex Neva
9243f6689f add "copy link location" and "--internal-urls <regex>" features (#230)
* add arg to specify pattern for urls to be considered internal

* add 'copy link location' to context menu

* fix lint
2016-08-07 02:03:53 +08:00
Peng Chen
48f0872ee5 Remove all non-ascii characters or use default for app name (#217) 2016-07-12 14:21:42 +08:00
Mats Högberg
a407b9ea52 Added a --zoom option for setting default zoom (#218)
* Added a --zoom option for setting initial zoom

* Added information about --zoom to documentation
2016-07-12 09:32:40 +08:00
Goh Jia Hao
1865e97e1a Remove accidentally introduced spacing 2016-05-27 00:15:48 +08:00
Goh Jia Hao
0c588b7219 Allow gitcloud matching of icons for multiple words 2016-05-27 00:10:23 +08:00
Goh Jia Hao
960f3362c9 Update eslint to v2.0.0 2016-05-26 23:05:44 +08:00
Goh Jia Hao
5833347ad8 Fix parsing of title including more than the title tag
- Fixes #195
2016-05-26 18:16:02 +08:00
Goh Jia Hao
1de9eec356 Implement disabling of developer tools
- Partially addresses #194
2016-05-26 18:02:43 +08:00
Goh Jia Hao
c12006ebea Add note on electron-packager workaround 2016-05-26 18:00:14 +08:00
Goh Jia Hao
7945f7802e Implement min/max window width and height
Fixes #82
2016-05-26 17:11:51 +08:00
Goh Jia Hao
2d2f107c84 Update electron version to v1.1.3 2016-05-26 16:51:31 +08:00
Goh Jia Hao
60823a21bb Temporary workaround for unable to delete OSX folder
Problem occurs with electron packager v7.01, see electron-userland/electron-packager#375
2016-05-26 16:01:23 +08:00
Goh Jia Hao
6fd275f063 Update default electron version to v1.0.2 2016-05-13 12:51:05 +08:00
Goh Jia Hao
80b10d690e Properly log errors with injected files 2016-05-08 15:23:41 +08:00
matthewdias
49ab72352e merge upstream, reverse default 2016-04-25 17:09:01 -05:00
Alexandr Priezzhev
f5d6980bfe Merge with upstream/development 2016-04-17 23:33:08 +02:00
Alexandr Priezzhev
c1b7ef9a60 Add an option to hide window frame 2016-04-17 01:06:42 +02:00
Alexandr Priezzhev
511c5f784e Add an option to hide window frame 2016-04-17 01:05:17 +02:00
Alexandr Priezzhev
fd67f17129 Add an option to hide window frame 2016-04-17 01:04:10 +02:00
Jan Jongboom
ccdef6d5de Add an option to disable the context menu 2016-04-16 16:07:09 +02:00
Jia Hao
f388ef83c6 Fix typo 2016-03-27 20:43:16 +08:00
Jia Hao
404bab30c3 No longer enable flash by default
Flash should be enabled with `--flash`, which will also enable the `--insecure` flag
2016-03-26 15:06:50 +08:00
Jia Hao
62a43c76ed Bump default electron version to 0.37.2
Uses chrome 49
2016-03-26 14:54:14 +08:00
Jia Hao
7ebec43dec Do not include app/src in packaged app 2016-03-25 21:11:12 +08:00
Jia Hao
e7390b9e33 Implement setting of verbose log level 2016-03-25 20:50:52 +08:00
Jia Hao
7b10e16ddb Merge branch 'lostfictions-development' into development 2016-03-25 20:12:20 +08:00
Jia Hao
94c9fdb424 Contain fallback user agent within inferUserAgent 2016-03-25 20:10:45 +08:00
Jia Hao
9a9a63c15a Use axios instead of request 2016-03-25 19:58:03 +08:00
Jia Hao
d890078e6e Should throw error on invalid platform 2016-03-25 19:29:13 +08:00
Bogdan Begovic
7351c61664 Added option for maximization of main window ( #133 ) 2016-03-22 18:09:21 +01:00
sa
4b6716efef Infer user agent from Electron's online version list 2016-03-19 21:14:41 -04:00
Jia Hao
a8072d2234 Hopefully fix icon retrieval bugs
Icon ext from page-icon contains `.` before ext now, e.g. `.png`
2016-03-14 12:28:14 +08:00
Jia Hao
09e5d3b7c7 Use separate progress bar 2016-03-14 00:27:13 +08:00
Jia Hao
013e988391 Override logs for electron-packager properly 2016-03-13 20:12:45 +08:00
Jia Hao
5bad1d08dd Use windows and osx to specify platform 2016-03-12 16:47:18 +08:00
Jia Hao
e6dc4b8441 Override output directory by default 2016-03-12 16:07:21 +08:00
Jia Hao
7ad7c346ef Add progress bar 2016-03-12 15:46:07 +08:00
Jia Hao
e1f2e662e9 Add check for correct icon format 2016-03-12 15:17:03 +08:00
Jia Hao
b17c31e188 Fix lint error 2016-03-12 01:42:53 +08:00
Jia Hao
136c599f92 Use polyfill to support node >0.10 2016-03-12 01:36:18 +08:00
Jia Hao
54b251ee1c Implement conversion to ico for windows target 2016-03-11 13:05:54 +08:00
Jia Hao
1862d7cafe Fix bug in wrong icon format 2016-03-11 12:56:55 +08:00
Jia Hao
4c708fac26 Try to use assets store for icons before infer
Also promisified inferIcon
2016-03-11 12:40:08 +08:00
Jia Hao
3ceafcb2ee Remove singleIco bin 2016-03-11 02:11:28 +08:00
Jia Hao
cedbb443af Do not try to make ico singular 2016-03-11 00:03:28 +08:00
Jia Hao
3a6ae0d660 Implement conversion to .png on linux
Refactored icon shell helpers to a single file with helper functions
2016-03-10 23:36:00 +08:00
Jia Hao
d04cf0ad3a Properly fail if icon is not found by pageicon 2016-03-10 15:52:02 +08:00
Jia Hao
34a5a52a28 Rename 'pngToIcns to convertToIcns' 2016-03-10 15:50:45 +08:00
Jia Hao
dab00a80e6 Check if unix before doing singleIco 2016-03-10 13:09:10 +08:00
Jia Hao
a576d4e217 Copy icon with correct extension for windows 2016-03-10 12:54:09 +08:00
Jia Hao
b7aada7967 Fix bug in setting icon on windows for windows 2016-03-10 12:46:09 +08:00
Jia Hao
c3374618d9 Prefer correct extension for page icon 2016-03-09 14:50:25 +08:00
Jia Hao
a5e3c5c2f8 Add conversion of multiple ico to single ico 2016-03-09 14:45:08 +08:00
Jia Hao
ac2260c395 Remove non ascii chars from filename
Non-ascii characters cause weird wine errors when building for win32 on darwin

```
$ nativefier stackedit.io ~/Desktop -o -p win32
```

Stack trace:
```
fixme:heap:RtlSetHeapInformation 0x0 1 0x0 0 stub
Fatal error: Unable to load file
```
2016-03-09 13:51:22 +08:00
Jia Hao
34039baefd Trim whitespace from inferred page title 2016-03-09 00:04:54 +08:00
Jia Hao
f48ad3790b Allow .ico to be changed into an .icns
Update shell script to support `.ico` files that contain sequential images
2016-03-08 23:58:38 +08:00
Jia Hao
3f6f632d51 Fix inferred file name extension 2016-03-08 23:57:19 +08:00
Jia Hao
9a8c18d0a4 Cleanup 2016-03-08 20:55:52 +08:00
Jia Hao
e2d762b721 Fix bug where icns conversion fails silently 2016-03-08 20:55:42 +08:00
Jia Hao
c8d6cef815 Remove dependency on bestIcon api
Use page-icon instead
2016-03-08 20:29:04 +08:00
Jia Hao
31ee80f84f Implement command line flag to start app in full screen, resolves #109 2016-02-25 18:26:28 +08:00
Jia Hao
1c334a3d7d Fix bug when no injection scripts is passed 2016-02-25 16:51:23 +08:00
Jia Hao
e1426b849a Implement injection of css 2016-02-25 14:56:32 +08:00
Jia Hao
4d49c01ff3 Implement injection of .js 2016-02-25 14:11:48 +08:00
Jia Hao
875149bcf7 Merge pull request #149 from garymoon/development
Make app data folder consistent per URL and allow clearing of app data from menu
2016-02-25 09:54:10 +08:00
Gary Moon
76fe17e39f make app data folder consistent per URL 2016-02-23 13:05:56 -05:00
Jia Hao
1b0351cd01 Change flag usage
- `--ignore-certificate` to ignore invalid certificate errors,
- `--insecure` to disable web security to allow mixed content
2016-02-23 21:31:47 +08:00
Jia Hao
7bfa42ef71 Merge branch 'development' into feature/flash
# Conflicts:
#	README.md
#	src/build/buildApp.js
#	src/cli.js
#	src/options/optionsMain.js
2016-02-23 21:13:20 +08:00
Jia Hao
6182432175 Merge branch 'feature/disable-web-security' of https://github.com/wiederkehr/nativefier into wiederkehr-feature/disable-web-security 2016-02-23 21:09:01 +08:00
Jia Hao
14939800d9 Allow manual override of flash plugin path 2016-02-23 17:13:39 +08:00
Benjamin Wiederkehr
dc51407ccb Added option to disable web security. 2016-02-22 21:33:33 +01:00
Jia Hao
88bb589de8 Fix #146 Specifying --electron-version does not work 2016-02-22 02:46:42 +08:00
Jia Hao
6ddf84bee1 Refactor options to seperate folders 2016-02-20 10:39:51 +08:00
Jia Hao
b229fe9d9a Merge pull request #107 from zweicoder/fix/respect-user-choice
Respect user choice for naming
2016-01-30 02:05:52 +08:00
Jia Hao
60f1375c25 Do not print done statement if app already exist and --overwrite is not passed 2016-01-30 01:57:56 +08:00
zweicoder
3d4faf6c77 Respect user choice for naming 2016-01-30 01:42:36 +08:00
Jia Hao
8f06c555e5 Don't modify the window title 2016-01-30 00:30:25 +08:00
Jia Hao
0d27dd6ae0 Split buildApp to separate files 2016-01-29 14:26:35 +08:00
Jia Hao
ce8e762ac9 Put files in separate directories 2016-01-29 14:09:36 +08:00
Jia Hao
4bdc0d27d2 Cleanup build app code 2016-01-29 13:39:23 +08:00
Jia Hao
0abde3e865 Cleanup 2016-01-29 12:37:25 +08:00
Jia Hao
51acbaaa9c Cleanup options.js, rename --app-name to --name 2016-01-29 11:37:54 +08:00
Jia Hao
0d408b001d Fix #103 App name should not be capitalized 2016-01-29 00:20:32 +08:00
Jia Hao
e5f8155d24 Use DO instance for API 2016-01-28 23:56:29 +08:00
Jia Hao
43d336c00d Reduce besticon parameter to get the apple touch icon if possible 2016-01-28 23:44:57 +08:00
Jia Hao
6787aff19c Use besticon api to automatically retrieve icon 2016-01-28 23:15:46 +08:00
Jia Hao
288f80301c Implement check for wine before attempting to pass icon to electron pacakger 2016-01-28 23:02:42 +08:00
Jia Hao
947a8c2a8b Add workaround to skip passing icon to electron packager if output platform is win32 2016-01-28 22:39:54 +08:00
Jia Hao
ecbb84146f Implement automatic retrieval of png 2016-01-28 21:13:57 +08:00
Jia Hao
1174cbc28c Cleanup 2016-01-28 11:47:40 +08:00
Jia Hao
5475c6e968 Add build step to infer and convert pngs to icns 2016-01-28 10:00:28 +08:00
Jia Hao
8eaa3a39e0 Allow using png to build for OSX if OS is OSX 2016-01-27 10:36:30 +08:00
Jia Hao
77b2d93fdd Remove extension from shell script 2016-01-27 10:25:46 +08:00
Jia Hao
dbd660b78f Add script to convert png to icns on osx 2016-01-27 10:22:22 +08:00
Jia Hao
f4130f940f Convert app name capitalized camel case if building for linux to prevent dock problems 2016-01-26 14:44:19 +08:00
Jia Hao
0cb4098eb8 Remove logs 2016-01-26 14:43:33 +08:00
Jia Hao
6b0d10f9d4 Fix the icon parameter for linux and windows 2016-01-26 14:24:47 +08:00
Jia Hao
03440e9227 Fix #87, Fix #89 - Sanitize app name
- Appname that contains unsafe characters which will cause electron packager to hang, so we sanitize them before passing them to electron-packager
2016-01-26 09:51:39 +08:00
Jia Hao
56b7abacf8 Fix bug in console warning when not overwritting an existing executable 2016-01-26 00:37:00 +08:00
Jia Hao
d74c368627 Add command line flag to make the packaged app ignore certificate errors, fixes #69 2016-01-25 23:42:28 +08:00
Jia Hao
0a90cb2ee7 Somehow electron packager returns appPath as an array instead of a string, this fixes it 2016-01-25 01:10:03 +08:00
Jia Hao
afbb5c2544 Add sourcemaps support 2016-01-24 21:07:22 +08:00
Jia Hao
ffc5450e00 Merge branch 'expose-main' of https://github.com/zweicoder/nativefier into zweicoder-expose-main
# Conflicts:
#	src/cli.js
2016-01-24 20:40:32 +08:00
Jia Hao
303d439192 Merge branch 'master' of https://github.com/taiyoslime/nativefier into taiyoslime-master
# Conflicts:
#	src/cli.js
2016-01-24 15:33:57 +08:00
Jia Hao
e86119ba96 Merge branch 'feature/show-menu-bar' of https://github.com/fearenales/nativefier into fearenales-feature/show-menu-bar
# Conflicts:
#	app/nativefier.json
#	app/src/main.js
#	src/buildApp.js
2016-01-24 15:24:27 +08:00
Jia Hao
82c29de231 Lint all files 2016-01-24 02:02:23 +08:00
zweicoder
9c19c144e7 Expose main instead of buildApp 2016-01-23 23:10:44 +08:00
taiyoslime
c85696f218 Fixed -h option's conflict on cli 2016-01-24 00:02:44 +09:00
Jia Hao
07acbced3e Cleanup notification integration #360 2016-01-23 13:32:20 +08:00
Felipe Arenales
329d82a18c Hiding menu bar by default 2016-01-22 12:47:56 -02:00
Jia Hao
a6e580aa0a Override user agent by default,
- Remove `--pretend` flag. Pass `--honest` instead to disable the fake user agent
2016-01-22 11:59:57 +08:00
Jia Hao
59e9f6e104 Implement counter which closes #33, thanks to @jfouchard 2016-01-22 11:35:05 +08:00
Jia Hao
4a8ab13622 Improve automatic retrieval of app name by faking a user agent to make the request 2016-01-22 10:47:53 +08:00
Jia Hao
e8a7c634cd Remove "About Electron" from app menu, add nativefier version to help, which fixes #18
Also refactor buildMenu function arguments
2016-01-21 13:42:27 +08:00
Jia Hao
82317a08d3 Implement --pretend flag to easily simulate user agent strings, fixes #11 2016-01-21 12:53:12 +08:00
Jia Hao
14a4846c1a Merge branch 'master' of github.com:jiahaog/nativefier 2016-01-21 12:27:44 +08:00
Jia Hao
f6488149f0 Fix bug in error when response is undefined 2016-01-21 12:27:20 +08:00
Jia Hao
16dab25321 Merge pull request #20 from mattchue/master
Allow intranet URLs
2016-01-21 08:33:08 +07:00
Jia Hao
673851202f Merge pull request #24 from himynameisdave/master
Fixes the issue with "/"'s in the page title
2016-01-21 08:17:33 +07:00
Jia Hao
7bfedc823b Make app resource folder contain a short id string, fix #21 2016-01-21 09:06:04 +08:00
dlunny
64b4f8b2a5 Fixes the issue with "/"'s in the page title
This commit resolves an bug where the page title would cause a filepaths
issue due to it having a forward slash.

The code committed here uses a simple regular expression to find all
instances of forward slashes in the page title and replace them with an
empty string.

Resolves #22

For more on this, please see:
https://github.com/jiahaog/nativefier/issues/22
2016-01-20 16:54:54 -05:00
Matt Prestlien
9ceb46cb89 Fix wrong bool
Small correction
2016-01-20 08:57:51 -08:00
Matt Prestlien
a65bf351bc Allow intranet URLs
This could be a great way to package intranet applications into electron apps. Added `require_tld` validator config setting to allow those intranet locations without a TLD to be packaged.
2016-01-20 08:54:05 -08:00
Jia Hao
256064213b Allow targetUrls without protocol 2016-01-19 21:32:55 +08:00
Jia Hao
364993bfcd Make app package.json name to be kebab cased for robustness 2016-01-19 21:19:09 +08:00
Jia Hao
0897432062 Change name within package.json so that temporary files will not be shared across different app instances 2016-01-19 21:06:42 +08:00
Jia Hao
9c9fe59ed7 Remove flag to show dev tools 2016-01-19 20:28:58 +08:00
Jia Hao
eb4a948506 Remove unnecessary statement to delete temporary files as they are already cleared if the keep parameter is not passed to tmp.dirSync 2016-01-19 11:58:26 +08:00
Jia Hao
d2733c4cb0 Change name for config file to nativefier.json 2016-01-19 11:45:17 +08:00
Jia Hao
1f31d06a85 Implement command line flag to show developer tools 2016-01-19 11:42:52 +08:00
Jia Hao
48345eceb5 Implement setting of user agent to fix #8 2016-01-19 11:30:42 +08:00
Jia Hao
e12d10042c Make help text clearer, add parsing of width and height 2016-01-19 01:17:12 +08:00
Jia Hao
549427c8ac Fix bug in default argument for targetUrl 2016-01-19 00:44:15 +08:00
Jia Hao
3b02889435 Implement scraping of the web page name for the app 2016-01-19 00:40:24 +08:00
Jia Hao
5411e9c71a Validate url before building the app 2016-01-18 23:56:59 +08:00
Jia Hao
10c1a9c97a Remove logging and make help clearer 2016-01-18 23:56:41 +08:00
Jia Hao
7d359a99fa Use arrow function and remove console.log statement 2016-01-18 23:56:17 +08:00
Jia Hao
0fe67234f2 Implement cli 2016-01-18 23:38:52 +08:00
Jia Hao
0eb2e83dc2 Cleanup code 2016-01-18 22:07:22 +08:00
Jia Hao
5379740dda Initial commit for working module only with api change 2016-01-18 21:45:18 +08:00