Skip to content

Instantly share code, notes, and snippets.

@Colk-tech
Last active May 1, 2024 15:57
Show Gist options
  • Save Colk-tech/157fd6c81032dde528d3a22434b8f3e6 to your computer and use it in GitHub Desktop.
Save Colk-tech/157fd6c81032dde528d3a22434b8f3e6 to your computer and use it in GitHub Desktop.
discord-with-proxy
#!/bin/sh
/Applications/Discord.app/Contents/MacOS/Discord --proxy-server=http://po.cc.ibaraki-ct.ac.jp:3128
@liusept
Copy link

liusept commented Jun 11, 2023

For the Mac version of Discord, I extracted the /Applications/Discord.app/Contents/Resources/app.asar file and found in the code that the Mac update uses electron.autoUpdater, which means the proxy settings do not take effect. My solution is to bypass the autoUpdater. Here are the steps:

  1. Edit the file /Users/admin/Library/Application\ Support/discord/settings.json and add the following two configurations:
    "SKIP_HOST_UPDATE": true,
    "SKIP_MODULE_UPDATE": true
    
  2. Run Discord with proxy parameters using the command:
    /Applications/Discord.app/Contents/MacOS/Discord --proxy-server=127.0.0.1:7890 --ignore-certificate-errors
    

Thanks, he works on my macos

@MdNihal05
Copy link

Hello
I use Linux ( Linux 6.5.0-kali3-amd64 ) Gnome version 44.1
How can i use discord using proxy ( with my credentials provided by college )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment