Skip to content

Instantly share code, notes, and snippets.

View rainmote's full-sized avatar

rainmote rainmote

View GitHub Profile
@rainmote
rainmote / discord-use-proxy.md
Last active May 18, 2023 03:55
Discord set proxy

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:

@rainmote
rainmote / gist:8a9882f944d6c3163e34e08b8b892f0b
Created November 15, 2021 09:26
config.status: error: cannot find input file: `config.sh.in`
env | grep -i config
unset CONFIG_FILES