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

45 Commits

Author SHA1 Message Date
David Pacheco
38825e8b71 Add options (--ignore-gpu-blacklist and --enable-es3-apis) to allow for WebGl apps to work on legacy or unsupported graphics cards by Chrome (#410) 2017-07-13 12:23:07 -04:00
romo-dw
ab435ee5a6 Add support for --disk-cache-size Electron flag (PR #400) 2017-07-05 09:07:31 -04:00
Jia Hao Goh
1505933826 Promisfy and parallelise config, add unit tests
Instead of optionsMain exporting an async function, this commit changes
it to return a promise instead. We split all the needed async
helpers for this config builder into smaller promises, in `src/options/*`. Another side
effect of this is that we perform all our async config inferring in
parallel, which speeds up the nativefier CLI.

Add proper unit tests as well for all of these promises. Switch to
Jest for these unit tests, and we are temporarily running both Jest and
mocha together in `npm test`. To refactor all the Mocha code to use Jest in
a future commit.
2017-05-07 15:49:15 +08:00
Jia Hao Goh
8f78dd03af Update eslint and use Airbnb style
- Add `npm run lint:fix` command
- Cleanup inferIcon.js logic slightly
2017-04-29 22:52:12 +08:00
Krzysztof Zbiciński
da637ebf73 Add --single-instance switch (#323) 2017-04-09 22:02:49 -04:00
Goh Jia Hao
f63f2e9e2b Merge branch 'master' into development
- Pull request was accidentally merged into master
2016-10-09 13:52:50 +08:00
Lex Neva
9243f6689f add "copy link location" and "--internal-urls <regex>" features (#230)
* add arg to specify pattern for urls to be considered internal

* add 'copy link location' to context menu

* fix lint
2016-08-07 02:03:53 +08:00
Mats Högberg
a407b9ea52 Added a --zoom option for setting default zoom (#218)
* Added a --zoom option for setting initial zoom

* Added information about --zoom to documentation
2016-07-12 09:32:40 +08:00
Goh Jia Hao
1de9eec356 Implement disabling of developer tools
- Partially addresses #194
2016-05-26 18:02:43 +08:00
Goh Jia Hao
7945f7802e Implement min/max window width and height
Fixes #82
2016-05-26 17:11:51 +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
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
e7390b9e33 Implement setting of verbose log level 2016-03-25 20:50:52 +08:00
Bogdan Begovic
7351c61664 Added option for maximization of main window ( #133 ) 2016-03-22 18:09:21 +01: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
7ad7c346ef Add progress bar 2016-03-12 15:46:07 +08:00
Jia Hao
54b251ee1c Implement conversion to ico for windows target 2016-03-11 13:05:54 +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
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
a5e3c5c2f8 Add conversion of multiple ico to single ico 2016-03-09 14:45:08 +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
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
6ddf84bee1 Refactor options to seperate folders 2016-02-20 10:39:51 +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