Skip to content

Unofficial Blizzard BattleNet Flatpak (ran with WineStaging)

Notifications You must be signed in to change notification settings

ChrisHobday/com.blizzard.BattleNet

Repository files navigation

Unofficial Blizzard BattleNet Flatpak

Installing

  • Download BattleNet.flatpak from releases
  • Install BattleNet.flatpak (sudo needed for installing single use Flatpak bundle)
sudo flatpak install BattleNet.flatpak

Launching

  • Launch the BattleNet Flatpak (Either search for the app in your menu and click it) or
flatpak run com.blizzard.BattleNet

Uninstalling

  • Remove BattleNet Flatpak
flatpak remove com.blizzard.BattleNet

Downloading/Cloning this repo

  • Switch the branch to WineStaging, using the dropdown at the top left, then click the green button to download zip and extract once downloaded or clone repo with
git clone --recurse-submodules https://github.com/ChrisHobday/com.blizzard.BattleNet

Building

  • Install Flatpak builder
flatpak install flathub org.flatpak.Builder
  • Install the platform this Flatpak will be using
flatpak install flathub org.freedesktop.Platform//23.08 org.freedesktop.Sdk//23.08
git checkout WineStaging
  • Build the Flatpak with flatpak-builder (Run this from within the com.blizzard.BattleNet directory)
flatpak run org.flatpak.Builder --force-clean --repo=repo build-dir com.blizzard.BattleNet.yml

User installation while building

  • Replace last Building step with
flatpak run org.flatpak.Builder --force-clean --repo=repo --user --install build-dir com.blizzard.BattleNet.yml

Building single use Flatpak bundle like in the releases (After having followed the Building steps above)

  • Build the Flatpak bundle (Run this from within the com.blizzard.BattleNet directory after having followed the Building steps above)
flatpak build-bundle repo BattleNet.flatpak com.blizzard.BattleNet

Troubleshooting

  • Check if Flatpak is installed
flatpak list | grep BattleNet
  • Enter Flatpak in command line mode
flatpak run --command=sh com.blizzard.BattleNet

Flatpak locations

  • Installation directory = /var/lib/flatpak/app/com.blizzard.BattleNet/
  • Installation directory (User mode) = ~/.local/share/flatpak/app/com.blizzard.BattleNet/
  • User cache directory = ~/.var/app/com.blizzard.BattleNet/cache/
  • User config directory = ~/.var/app/com.blizzard.BattleNet/config/
  • User data directory = ~/.var/app/com.blizzard.BattleNet/data/
  • Wine prefix = ~/.var/app/com.blizzard.BattleNet/data/WinePrefix

About

Unofficial Blizzard BattleNet Flatpak (ran with WineStaging)

Resources

Stars

Watchers

Forks

Packages

No packages published