2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-18 02:25:12 +00:00
Commit Graph

637 Commits

Author SHA1 Message Date
Jia Hao
76975c18c9 6.4.0 2016-01-21 13:46:07 +08:00
Jia Hao
663c633938 Add changelog 2016-01-21 13:45:59 +08:00
Jia Hao
e723d59f25 Make debug script automatically open the packaged app on OSX 2016-01-21 13:43:12 +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
c097fe767c Add helper scripts to debug easily 2016-01-21 12:26:05 +08:00
Jia Hao
5bceb97775 Hide app instead of exiting on OSX to fix #14 2016-01-21 12:25:33 +08:00
Jia Hao
877ee060f6 Update deprecated electron loadUrl usage
Remove crash reporter
Remove commented code
2016-01-21 11:30:37 +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
add0c8a19a Merge pull request #25 from PoziWorld/patch-1
Minor copy fixes
2016-01-21 08:18:55 +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
PoziWorld
f9e9c16d58 Minor copy fixes
an native desktop app => a native desktop app
can built => can be built
2016-01-20 14:55:40 -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
Jia Hao
762de5f1c8 Update documentation, no longer need to add the full url with the protocol
Fixes #13
2016-01-21 01:22:22 +08: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
0786ae5449 Update readme 2016-01-19 22:02:01 +08:00
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