For games that need it, install the Discord bridge.
This commit is contained in:
@@ -183,3 +183,14 @@ add_launcher() {
|
||||
fi
|
||||
fi
|
||||
}
|
||||
# Install the Discord RPC bridge
|
||||
install_discord_rpc_bridge() {
|
||||
echo "Installing Discord RPC bridge for Wine compatibility..."
|
||||
download "https://github.com/EnderIce2/rpc-bridge/releases/download/v1.4.0.1/bridge.zip"
|
||||
if [[ -f "${cache}/bridge.zip && ! -f "${cache}/bridge.exe ]]; then
|
||||
# the package is on the system, but not extracted just yet.
|
||||
unzip bridge.zip
|
||||
fi
|
||||
|
||||
wine "${cache}/bridge.exe" --install
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user