Skip to content

Instantly share code, notes, and snippets.

@tienthanh2509
Created August 24, 2023 04:28
Show Gist options
  • Save tienthanh2509/7bb7f3a27513320b1304c9dfffac515b to your computer and use it in GitHub Desktop.
Save tienthanh2509/7bb7f3a27513320b1304c9dfffac515b to your computer and use it in GitHub Desktop.
Skype / Electron app set custom proxy
#!/bin/bash
# open skype and enable remote inspect
skypeforlinux --inspect http://127.0.0.1:9229
# 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