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

1067 Commits

Author SHA1 Message Date
Jia Hao
981c176894 Hide the webview until it finishes loading 2016-01-19 21:55:50 +08:00
Jia Hao
5c91cf231b Allow urls without protocols 2016-01-19 21:33:08 +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
96c99b21a4 Change name within package.json 2016-01-19 21:07:06 +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
cfd212bd94 Update debug script to ensure that src is built before packaging the app 2016-01-19 21:05:41 +08:00
Jia Hao
eb0a1b47bc Add spinner 2016-01-19 20:51:48 +08:00
Jia Hao
ded8397dd3 Add loading spinner 2016-01-19 20:51:26 +08:00
Jia Hao
8a7219eba8 Add npm script to facilitate debug 2016-01-19 20:51:01 +08:00
Jia Hao
c8e2c17fb5 Add application menus 2016-01-19 20:35:10 +08:00
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
de98c5e402 Fix user agent 2016-01-19 18:33:59 +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
b17c2af5e6 Add keywords 2016-01-19 18:04:36 +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
1c87305d39 6.2.0 2016-01-19 11:49:50 +08:00
Jia Hao
d91f5839d3 Use quotations in examples 2016-01-19 11:48:08 +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
Jia Hao
6baf6f277a Implemented intelligent app name retrieval 2016-01-19 01:18:15 +08:00
Jia Hao
0b43db6109 Update Readme 2016-01-19 01:17:27 +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
a57d00f701 Add MIT License 2016-01-19 00:15:29 +08:00
Jia Hao
86b2e0f0ef Add .npmignore to ignore src 2016-01-19 00:01:58 +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
36b5597063 Add prepublish script 2016-01-18 23:36:05 +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
Jia Hao
5f20dca5cc Merge pull request #6 from starquake/patch-2
Fix error in usage example
2015-11-17 16:08:04 +08:00
Jan Visser
7a7a04d56a Fix error in usage example
Removed "--target" in example and add quotes to make sure the shell interpreter does not try to interpret certain characters like ? or & in the url
2015-11-06 14:53:28 +01:00
Jia Hao
e987b6425f Merge pull request #4 from gfpacheco/badge-not-osx
Fix #3 - Prevent call to setBadge when not on OSX
2015-08-07 14:24:50 +08:00
Guilherme Pacheco
5adf9d3a5d Prevent call to setBadge when not on OSX 2015-08-06 00:34:32 -03:00