Commit Graph

663 Commits

Author SHA1 Message Date
Jia Hao cbff6ba50d Add note about nativefier-icons 2016-03-12 16:38:24 +08:00
Jia Hao e6dc4b8441 Override output directory by default 2016-03-12 16:07:21 +08:00
Jia Hao 7ad7c346ef Add progress bar 2016-03-12 15:46:07 +08:00
Jia Hao e1f2e662e9 Add check for correct icon format 2016-03-12 15:17:03 +08:00
Jia Hao 6eaf335ba5 Remove unnecessary `identify` dependency check 2016-03-12 15:03:13 +08:00
Jia Hao 1f517886bb Allow todo in comments 2016-03-12 15:02:49 +08:00
Jia Hao 7ba016bf50 Support only node 0.12 onwards 2016-03-12 02:00:00 +08:00
Jia Hao b17c31e188 Fix lint error 2016-03-12 01:42:53 +08:00
Jia Hao 136c599f92 Use polyfill to support node >0.10 2016-03-12 01:36:18 +08:00
Jia Hao 7783f99e12 Update babel
Attempt to fix error

```
Error: only one instance of babel-polyfill is allowed
```
for Nodejs<=4
2016-03-11 13:47:00 +08:00
Jia Hao 54b251ee1c Implement conversion to ico for windows target 2016-03-11 13:05:54 +08:00
Jia Hao 1862d7cafe Fix bug in wrong icon format 2016-03-11 12:56:55 +08:00
Jia Hao 4c708fac26 Try to use assets store for icons before infer
Also promisified inferIcon
2016-03-11 12:40:08 +08:00
Jia Hao b09021dc3a 6.11.0 2016-03-11 03:49:26 +08:00
Jia Hao c36afb71d9 Update changelog for `6.11.0` 2016-03-11 03:49:14 +08:00
Jia Hao a49decbae8 Add optional dependencies 2016-03-11 02:29:13 +08:00
Jia Hao dea22336d9 Update Readme for Windows dev setup 2016-03-11 02:27:49 +08:00
Jia Hao 3ceafcb2ee Remove singleIco bin 2016-03-11 02:11:28 +08:00
Jia Hao cedbb443af Do not try to make ico singular 2016-03-11 00:03:28 +08:00
Jia Hao 3a6ae0d660 Implement conversion to .png on linux
Refactored icon shell helpers to a single file with helper functions
2016-03-10 23:36:00 +08:00
Jia Hao d04cf0ad3a Properly fail if icon is not found by pageicon 2016-03-10 15:52:02 +08:00
Jia Hao 34a5a52a28 Rename 'pngToIcns to convertToIcns' 2016-03-10 15:50:45 +08:00
Jia Hao ca44ee28aa Use separate file to convert to png 2016-03-10 15:41:25 +08:00
Jia Hao dab00a80e6 Check if unix before doing singleIco 2016-03-10 13:09:10 +08:00
Jia Hao 79c7767bb0 Add note about wine 2016-03-10 13:03:40 +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 38a15baac2 Make section on optional dependencies clearer 2016-03-09 14:24:00 +08:00
Jia Hao 459894cc2a Add check for imagemagick identify 2016-03-09 14:22:11 +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 9d1276353e Remove dependency on Sips
Also update documentation for icon conversion dependencies
2016-03-09 00:01:27 +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 e0e5b16f0b DRY for building es6 with babel 2016-02-28 01:07:52 +08:00
Jia Hao 8ef3137d02 Change eslint to disallow unused variables 2016-02-28 00:49:54 +08:00
Jia Hao 99fcb60a44 Split gulpfile into multiple parts 2016-02-28 00:45:44 +08:00
Jia Hao 45bcccd17e 6.10.1 2016-02-26 03:14:34 +08:00
Jia Hao ca19307e53 Update changelog for `v6.10.1` 2016-02-26 03:14:14 +08:00
Jia Hao 0ed5bd8c7b Fix #117 ENOENT when infering flash 2016-02-26 03:13:11 +08:00
Jia Hao 866991d6a1 Fix typo in header 2016-02-25 19:09:08 +08:00
Jia Hao a4462b191d 6.10.0 2016-02-25 19:04:52 +08:00
Jia Hao 474eab4e89 Update changelog for `v6.10.0` 2016-02-25 19:04:30 +08:00
Jia Hao c4700fcb7b Fix bug in mocha where next task is executed before mocha callback 2016-02-25 19:01:56 +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