1
0
mirror of https://github.com/jiahaog/Nativefier synced 2024-07-01 08:20:50 +02:00
Commit Graph

223 Commits

Author SHA1 Message Date
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