File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,6 +109,26 @@ For Running [Discord](https://discord.com/) through a Proxy Server :
109109 > That file will be overwritten when Discord updated. </br >
110110 > Try to not install Discord via Snap or Flatpak , I recommend To install it via package-manager or its source.
111111
112+ Its better to add proxy server in its ` wrapper ` which is an updater:
113+
114+ ``` bash
115+ ls -l /usr/bin/Discord
116+ lrwxrwxrwx. 1 root root 27 Sep 18 03:30 /usr/bin/Discord -> ../lib64/discord/wrapper.sh
117+ ```
118+
119+ ``` shell
120+ #! /usr/bin/bash
121+
122+ # Path to discord binary
123+ DISCORD_BIN=$( dirname $( readlink -f $0 ) ) /Discord
124+
125+ # Run python script to disable check updates
126+ /usr/lib64/discord/disable-breaking-updates.py
127+
128+ # Launch discord
129+ exec " $DISCORD_BIN " " $@ " --proxy-server=" 127.0.0.1:10808"
130+ ```
131+
112132## Vscode
113133
114134vscode desktop config file is ` /usr/share/applications/code.desktop ` :
You can’t perform that action at this time.
0 commit comments