otato.z
ef13ff1e1d
feat: proxy rules with --proxy-rules
flag ( #854 )
...
See https://electronjs.org/docs/api/session?q=proxy#sessetproxyconfig-callback
2019-10-22 19:38:39 -04:00
FabulousCupcake
d0a0614ba3
Add --browserwindow-options to completely expose Electron options (PR #835 )
...
This adds a new flag `--browserwindow-options`, taking a stringified JSON object as input.
It will be inserted directly into the options when BrowserConfig is initialized.
This allows total configurability of the electron BrowserWindow configuration via nativefier.
An example use case is added to the documentation, which modifies the default font family in the browser.
#### References
- https://github.com/electron/electron/blob/master/docs/api/browser-window.md#new-browserwindowoptions
- See the following for electron v3.1.7
- https://github.com/electron/electron/blob/v3.1.7/docs/api/browser-window.md#new-browserwindowoptions
2019-08-22 21:37:49 +02:00
Umair Ahmed
81c422d4e0
Support setting background color ( fixes #795 ) (PR #819 )
...
Adds a `--background-color` flag for the background of the window when the app isn't loaded.
2019-08-22 21:25:58 +02:00
Nate Woolls
5433569921
Support macOS 10.4+ Dark Mode, default to Electron 5.x ( #796 )
...
Introduces a `--darwin-dark-mode-support` flag.
(I kept the same flag used by Electron Packager.)
This required bumping Electron and Electron Packager.
Addresses:
- https://github.com/jiahaog/nativefier/issues/733
- https://github.com/jiahaog/nativefier/issues/727
2019-08-22 21:05:39 +02:00
Adrian DC
5b6cc89f22
Fix #316 : Add --clear-cache flag to cleanup session on start/exit ("incognito" mode) (PR #747 )
...
- Add a new `clearCache` option and `--clear-cache` parameter
to trigger session cleanups upon window launch and close
- Covers the feature request from issue #316
- Use case example: Forcing authentification / login between sessions without limiting cache size
2019-02-08 10:03:29 -05:00
Benedikt Rötsch
3029cba01f
Support global shortcuts that trigger input events (PR #698 , Fixes #15 )
...
This adds a new flag, allowing the user to define global shortcuts that trigger input events within the main window.
That way, I could easily wrap SoundCloud and Deezer to create a native app which reacts on my keyboard media buttons.
2018-11-04 21:03:52 -05:00
Khai Nguyen
b8c1d35ba4
Add --title-bar-style flag (macOS only) (PR#627)
2018-05-31 08:05:12 -04:00
Goh Jia Hao
95fc46d38d
Integrate prettier
2018-05-24 00:02:44 -07:00
David Kramer
bbb513d420
Fix #364 - Add --disable-gpu flag to disable hardware acceleration (PR #584 )
2018-04-22 15:56:10 -04:00
Matt Rose
574205ab0d
macOS: Add --bounce option for dock counter (PR #570 )
2018-04-14 17:17:25 -04:00
sgroh
46d381481c
Fix #549 : Add --always-on-top build flag (PR #551 )
2018-03-16 18:15:44 -04:00
Bob Roth
cec9c4b819
Fix #499 : Add options to control file download behavior (PR #526 )
2018-01-26 09:59:58 -05:00
Matt Harris
28dca8c647
Fix #325 - Add --x and --y window position flags (PR #515 )
2017-12-26 13:00:39 -05:00
Matt Harris
eb08d85830
Fix #480 - Move all console.* to loglevel.* calls, eslint-fail on console.* (PR #507 )
2017-12-19 08:42:06 -05:00
Ronan Jouchet
6fb3b92eb8
Upgrade dependencies and default to latest Electron 1.7.9 (PR #483 )
...
* Update deps except eslint
* Update eslint and lint:fix (WIP, needs manual fixing for remaining 44 problems)
* Manually fix remaining eslint errors
* Document deprecation of `version-string` as of electron-packager 9.0.0
* Upgrade to Electron 1.7.9 (chrome-58, node-7.9.0, v8-5.8)
* npm: Disable generation of package-lock.json and gitignore it
--Trying this, package-lock is a pain in PRs. May not be a good idea
(obviously we lose deps pinning), will revert if necessary.--
* npm tasks: add dev-up-win for Windows developers,
and e2e for end-to-end tests. Update docs.
* Move normalizeUrl test to a jest unit test, makes no sense to be in the mocha e2e tests
* Switch from babel-preset-es2015 to babel-preset-env,
with target.node=4.0. Seem like it's today's most convenient
way to support the latest ES and let babel transpile to what
makes sense for our currently minimal node version
2017-11-14 08:05:01 -05:00
omouren
885790bc22
Fix #304 - Add --tray CLI flag to let app running in background on window close. Supports in-title counter. ( #457 )
2017-10-05 19:32:48 -04:00
Devin Buhl
4c581f9067
Fix #275 - Add HTTP --basic-auth-{username,password} CLI flags ( #444 )
2017-10-05 18:44:03 -04:00
Bob Roth
3e7cec2ecb
Fix #438 - Add missing params to buildApp ( #450 )
2017-10-03 12:02:41 -04:00
Bob Roth
c9d2040327
Allow nativefier to set process.env variables ( #419 )
2017-08-16 10:20:43 -04:00
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
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
Bogdan Begovic
7351c61664
Added option for maximization of main window ( #133 )
2016-03-22 18:09:21 +01: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
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
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