1
0
mirror of https://github.com/jiahaog/Nativefier synced 2024-06-28 07:50:49 +02:00
Commit Graph

92 Commits

Author SHA1 Message Date
Jia Hao
dab00a80e6 Check if unix before doing singleIco 2016-03-10 13:09:10 +08:00
Jia Hao
a576d4e217 Copy icon with correct extension for windows 2016-03-10 12:54:09 +08:00
Jia Hao
b7aada7967 Fix bug in setting icon on windows for windows 2016-03-10 12:46:09 +08:00
Jia Hao
c3374618d9 Prefer correct extension for page icon 2016-03-09 14:50:25 +08:00
Jia Hao
a5e3c5c2f8 Add conversion of multiple ico to single ico 2016-03-09 14:45:08 +08:00
Jia Hao
ac2260c395 Remove non ascii chars from filename
Non-ascii characters cause weird wine errors when building for win32 on darwin

```
$ nativefier stackedit.io ~/Desktop -o -p win32
```

Stack trace:
```
fixme:heap:RtlSetHeapInformation 0x0 1 0x0 0 stub
Fatal error: Unable to load file
```
2016-03-09 13:51:22 +08:00
Jia Hao
34039baefd Trim whitespace from inferred page title 2016-03-09 00:04:54 +08:00
Jia Hao
f48ad3790b Allow .ico to be changed into an .icns
Update shell script to support `.ico` files that contain sequential images
2016-03-08 23:58:38 +08:00
Jia Hao
3f6f632d51 Fix inferred file name extension 2016-03-08 23:57:19 +08:00
Jia Hao
9a8c18d0a4 Cleanup 2016-03-08 20:55:52 +08:00
Jia Hao
e2d762b721 Fix bug where icns conversion fails silently 2016-03-08 20:55:42 +08:00
Jia Hao
c8d6cef815 Remove dependency on bestIcon api
Use page-icon instead
2016-03-08 20:29:04 +08:00
Jia Hao
31ee80f84f Implement command line flag to start app in full screen, resolves #109 2016-02-25 18:26:28 +08:00
Jia Hao
1c334a3d7d Fix bug when no injection scripts is passed 2016-02-25 16:51:23 +08:00
Jia Hao
e1426b849a Implement injection of css 2016-02-25 14:56:32 +08:00
Jia Hao
4d49c01ff3 Implement injection of .js 2016-02-25 14:11:48 +08:00
Jia Hao
875149bcf7 Merge pull request #149 from garymoon/development
Make app data folder consistent per URL and allow clearing of app data from menu
2016-02-25 09:54:10 +08:00
Gary Moon
76fe17e39f make app data folder consistent per URL 2016-02-23 13:05:56 -05:00
Jia Hao
1b0351cd01 Change flag usage
- `--ignore-certificate` to ignore invalid certificate errors,
- `--insecure` to disable web security to allow mixed content
2016-02-23 21:31:47 +08:00
Jia Hao
7bfa42ef71 Merge branch 'development' into feature/flash
# Conflicts:
#	README.md
#	src/build/buildApp.js
#	src/cli.js
#	src/options/optionsMain.js
2016-02-23 21:13:20 +08:00
Jia Hao
6182432175 Merge branch 'feature/disable-web-security' of https://github.com/wiederkehr/nativefier into wiederkehr-feature/disable-web-security 2016-02-23 21:09:01 +08:00
Jia Hao
14939800d9 Allow manual override of flash plugin path 2016-02-23 17:13:39 +08:00
Benjamin Wiederkehr
dc51407ccb Added option to disable web security. 2016-02-22 21:33:33 +01:00
Jia Hao
88bb589de8 Fix #146 Specifying --electron-version does not work 2016-02-22 02:46:42 +08:00
Jia Hao
6ddf84bee1 Refactor options to seperate folders 2016-02-20 10:39:51 +08:00
Jia Hao
b229fe9d9a Merge pull request #107 from zweicoder/fix/respect-user-choice
Respect user choice for naming
2016-01-30 02:05:52 +08:00
Jia Hao
60f1375c25 Do not print done statement if app already exist and --overwrite is not passed 2016-01-30 01:57:56 +08:00
zweicoder
3d4faf6c77 Respect user choice for naming 2016-01-30 01:42:36 +08:00
Jia Hao
8f06c555e5 Don't modify the window title 2016-01-30 00:30:25 +08:00
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