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

63 Commits

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