Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
added Electron "no-proxy-server" command switch (CCI-Tools/cate#627)
Browse files Browse the repository at this point in the history
  • Loading branch information
forman committed May 22, 2018
1 parent f0182b3 commit 846865c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ class CateDesktopApp {

log.info('process.versions =', process.versions);

electron.app.commandLine.appendSwitch('no-proxy-server');

if (process.platform === 'darwin') {
// Try getting around https://github.com/CCI-Tools/cate-desktop/issues/32
// See https://electron.atom.io/docs/api/app/#appcommandlineappendswitchswitch-value
Expand Down

0 comments on commit 846865c

Please sign in to comment.