Compare commits
2 Commits
4d32740975
...
e8b0b97ac2
| Author | SHA1 | Date | |
|---|---|---|---|
| e8b0b97ac2 | |||
| 4de95e7a7c |
@@ -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
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
export winVer="win10"
|
||||
download "https://nibblenerds.com/static/blades_of_glory.zip"
|
||||
install_wine_bottle
|
||||
install_wine_bottle "sapi"
|
||||
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/Blades of Glory" "${cache}/blades_of_glory.zip"
|
||||
install_discord_rpc_bridge
|
||||
add_launcher "c:\Program Files\Blades of Glory\blades_of_glory.exe"
|
||||
|
||||
Reference in New Issue
Block a user