BattleNET

This commit is contained in:
Murphy 2024-10-18 15:06:57 -04:00
commit 2a033b111b
Signed by: freya
GPG key ID: 744AB800E383AE52
5 changed files with 22 additions and 0 deletions

2
BattleNET/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
bin
wine

3
BattleNET/README.md Normal file
View file

@ -0,0 +1,3 @@
#### BattleNET
Move the `Battle.net-Setup.exe` file into the `bin` directory and run `setup`

7
BattleNET/env Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
export STEAM_TEMP_DIR="$(pwd)/wine"
mkdir -p "$STEAM_TEMP_DIR"
export STEAM_COMPAT_DATA_PATH="$STEAM_TEMP_DIR"
export STEAM_COMPAT_CLIENT_INSTALL_PATH="$STEAM_TEMP_DIR"
export PROTON="$HOME/.local/share/Steam/steamapps/common/Proton - Experimental/proton"

5
BattleNET/run Executable file
View file

@ -0,0 +1,5 @@
#!/bin/sh
source ./env
"$PROTON" run "./wine/pfx/drive_c/Program Files (x86)/Battle.net/Battle.net.exe"

5
BattleNET/setup Executable file
View file

@ -0,0 +1,5 @@
#!/bin/sh
source ./env
"$PROTON" run ./bin/Battle.net-Setup.exe