For games that need it, install the Discord bridge.

This commit is contained in:
2025-11-06 13:14:34 -05:00
parent 4d32740975
commit 4de95e7a7c

View File

@@ -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
}