Commit Graph

177 Commits

Author SHA1 Message Date
Jia Hao b4be8e37a6 Fix bug where `shell` is not imported, and add links to github repo 2016-01-19 20:33:25 +08:00
Jia Hao 9c9fe59ed7 Remove flag to show dev tools 2016-01-19 20:28:58 +08:00
Jia Hao c7e0242852 Implement opening of web view dev tools from menu 2016-01-19 20:26:19 +08:00
Jia Hao 19bfce4191 Add template `nativefier.json` for debugging use 2016-01-19 19:53:59 +08:00
Jia Hao d01780a613 Implement basic application menu with shortcuts which supersedes mousetrap 2016-01-19 19:53:10 +08:00
Jia Hao b9d0f70580 Dev tools should show for the `webview` instead of the main browser window 2016-01-19 18:24:24 +08:00
Jia Hao b5ed2277bd Use event `dom-ready` just like example in docs http://electron.atom.io/docs/v0.36.4/api/web-view-tag/ 2016-01-19 18:21:14 +08:00
Jia Hao 53383ebae7 Only attempt to change user agent if it is provided as an argument 2016-01-19 18:18:43 +08:00
Jia Hao 5adf7b9297 Fix #8 user agent issue
The user agent needs to be set for the `<webview>` instead of for the `mainWindow`
2016-01-19 18:06:20 +08:00
Jia Hao 8ad805d820 Make package.json valid 2016-01-19 18:04:49 +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 fb4a99a872 Implement electron API changes for requiring module as per http://blog.atom.io/2015/11/17/electron-api-changes.html 2016-01-19 11:28:04 +08:00
Jia Hao 63df4f0283 MIT License 2016-01-19 11:25:54 +08:00
Jia Hao 73f56e0ebb Add new line 2016-01-19 11:23:52 +08:00
Guilherme Pacheco 5adf9d3a5d Prevent call to setBadge when not on OSX 2015-08-06 00:34:32 -03:00
Jia Hao 619e8c60b9 Quit app when all windows are closed 2015-07-06 11:46:08 +08:00
Jia Hao d7859160eb Only set the title listener after the webview finishes loading 2015-07-06 11:45:55 +08:00
Jia Hao 4ddf10a108 Updated to support setting of window dimensions using the cli, and updated documentation 2015-07-06 10:31:09 +08:00
Jia Hao 80f1863b8b Implemented setting of badge configuration in the command line 2015-07-06 09:46:27 +08:00
Jia Hao 199b1423e5 Implemented mac app badge through listening for webview title changes 2015-07-06 09:38:04 +08:00
Jia Hao 46bb14ac2a Implemented opening of links in new window 2015-07-05 20:44:45 +08:00
Jia Hao 247345f203 Implemented selectAll, copy, cut, paste, undo keyboard shortcuts 2015-07-05 20:11:34 +08:00
Jia Hao 4495b26c92 Fixed enormous bug in not passing the app configuration properly 2015-07-05 16:43:32 +08:00
Jia Hao 140c444a96 Added documentation 2015-07-05 15:11:49 +08:00
Jia Hao 104821b759 Initial commit 2015-07-05 14:08:13 +08:00