Disable Blades of Glory for now.
There is a technical limitation where pypresence is trying to enumerate the available pipes in \\?\pipe\ but this is crashing because Wine doesn't properly support enumerating the \\?\pipe\ namespace. This causes pypresence to crash when trying to discover Discord IPC pipes.
This commit is contained in:
@@ -187,10 +187,23 @@ add_launcher() {
|
||||
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
|
||||
if [[ -f "${cache}/bridge.zip" && ! -f "${cache}/bridge.exe" ]]; then
|
||||
# the package is on the system, but not extracted just yet.
|
||||
unzip bridge.zip
|
||||
unzip "${cache}/bridge.zip" -d "${cache}"
|
||||
fi
|
||||
|
||||
wine "${cache}/bridge.exe" --install
|
||||
if [[ -f "${cache}/bridge.exe" ]]; then
|
||||
wine "${cache}/bridge.exe" --install 2>&1 | grep -v "fixme:" || echo "Discord bridge installation attempted"
|
||||
|
||||
# Copy required bridge.sh script to Wine prefix
|
||||
if [[ -f "${cache}/bridge.sh" ]]; then
|
||||
cp "${cache}/bridge.sh" "${WINEPREFIX}/drive_c/windows/"
|
||||
echo "Copied bridge.sh to Wine prefix"
|
||||
else
|
||||
echo "WARNING: bridge.sh not found in cache!"
|
||||
fi
|
||||
else
|
||||
echo "ERROR: bridge.exe not found after extraction!"
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#Disable
|
||||
download "https://nibblenerds.com/static/blades_of_glory.zip"
|
||||
install_wine_bottle
|
||||
install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/Blades of Glory" "${cache}/blades_of_glory.zip"
|
||||
|
||||
Reference in New Issue
Block a user