Created
August 24, 2023 04:28
-
-
Save tienthanh2509/7bb7f3a27513320b1304c9dfffac515b to your computer and use it in GitHub Desktop.
Skype / Electron app set custom proxy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# open skype and enable remote inspect | |
skypeforlinux --inspect http://127.0.0.1:9229 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Openchrome inspect chrome://inspect and paste below command to console | |
const { app } = require('electron'); | |
app.commandLine.appendSwitch('proxy-server', 'http://192.168.8.10:1081'); | |
const window = require('electron').BrowserWindow; | |
window.getAllWindows()[0].reload() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment