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:
-
Edit the file
/Users/admin/Library/Application\ Support/discord/settings.jsonand add the following two configurations:"SKIP_HOST_UPDATE": true, "SKIP_MODULE_UPDATE": true -
Run Discord with proxy parameters using the command: