Skip to content

Commit

Permalink
Merge pull request #137 from mojighahar/patch-1
Browse files Browse the repository at this point in the history
Fix(proxy): Set https proxy in gnome
  • Loading branch information
SadeghHayeri authored Jan 4, 2022
2 parents 468552c + 2a9e952 commit af0cd05
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/system-proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ class LinuxSystemProxy extends SystemProxy {
await exec('gsettings set org.gnome.system.proxy mode manual');
await exec(`gsettings set org.gnome.system.proxy.http host ${ip}`);
await exec(`gsettings set org.gnome.system.proxy.http port ${port}`);
await exec(`gsettings set org.gnome.system.proxy.https host ${ip}`);
await exec(`gsettings set org.gnome.system.proxy.https port ${port}`);
}

static async unsetProxy() {
Expand Down

0 comments on commit af0cd05

Please sign in to comment.