2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-06-28 16:13:46 +00:00
Commit Graph

128 Commits

Author SHA1 Message Date
Goh Jia Hao
6fd275f063 Update default electron version to v1.0.2 2016-05-13 12:51:05 +08:00
Goh Jia Hao
80b10d690e Properly log errors with injected files 2016-05-08 15:23:41 +08:00
matthewdias
49ab72352e merge upstream, reverse default 2016-04-25 17:09:01 -05:00
Alexandr Priezzhev
f5d6980bfe Merge with upstream/development 2016-04-17 23:33:08 +02:00
Alexandr Priezzhev
c1b7ef9a60 Add an option to hide window frame 2016-04-17 01:06:42 +02:00
Alexandr Priezzhev
511c5f784e Add an option to hide window frame 2016-04-17 01:05:17 +02:00
Alexandr Priezzhev
fd67f17129 Add an option to hide window frame 2016-04-17 01:04:10 +02:00
Jan Jongboom
ccdef6d5de Add an option to disable the context menu 2016-04-16 16:07:09 +02:00
Jia Hao
f388ef83c6 Fix typo 2016-03-27 20:43:16 +08:00
Jia Hao
404bab30c3 No longer enable flash by default
Flash should be enabled with `--flash`, which will also enable the `--insecure` flag
2016-03-26 15:06:50 +08:00
Jia Hao
62a43c76ed Bump default electron version to 0.37.2
Uses chrome 49
2016-03-26 14:54:14 +08:00
Jia Hao
7ebec43dec Do not include app/src in packaged app 2016-03-25 21:11:12 +08:00
Jia Hao
e7390b9e33 Implement setting of verbose log level 2016-03-25 20:50:52 +08:00
Jia Hao
7b10e16ddb Merge branch 'lostfictions-development' into development 2016-03-25 20:12:20 +08:00
Jia Hao
94c9fdb424 Contain fallback user agent within inferUserAgent 2016-03-25 20:10:45 +08:00
Jia Hao
9a9a63c15a Use axios instead of request 2016-03-25 19:58:03 +08:00
Jia Hao
d890078e6e Should throw error on invalid platform 2016-03-25 19:29:13 +08:00
Bogdan Begovic
7351c61664 Added option for maximization of main window ( #133 ) 2016-03-22 18:09:21 +01:00
sa
4b6716efef Infer user agent from Electron's online version list 2016-03-19 21:14:41 -04:00
Jia Hao
a8072d2234 Hopefully fix icon retrieval bugs
Icon ext from page-icon contains `.` before ext now, e.g. `.png`
2016-03-14 12:28:14 +08:00
Jia Hao
09e5d3b7c7 Use separate progress bar 2016-03-14 00:27:13 +08:00
Jia Hao
013e988391 Override logs for electron-packager properly 2016-03-13 20:12:45 +08:00
Jia Hao
5bad1d08dd Use windows and osx to specify platform 2016-03-12 16:47:18 +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
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
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
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
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