feat: install Battle.net games from Stores with downloads, updates and uninstall

Battle.net games now install like Epic, Xbox and itch games: Install,
pick a location, and the download runs in the Downloads tab while the
Stores page stays open. droiddeck-battlenet starts Blizzard's own Agent
on its own under a headless gamescope and drives its local API, so no
window opens and nothing waits on the Battle.net client.

- Progress, speed and time left come from the Agent, with pause, resume
  (the Agent keeps what it downloaded) and cancel, which uninstalls the
  partial game and removes its folder.
- A job only finishes once the Agent has really run it and the game is
  playable; the first status after a request can still describe the
  previous operation.
- Installed games check Blizzard's version service and show Update when
  the build on disk is behind; the update repairs missing files too.
- Battle.net games can be uninstalled from their page through the Agent.
- Games land in the chosen location: internal storage, other storage or
  a Games folder.
- The hero keeps its action row clear of the playtime column.
This commit is contained in:
maxjivi05 authored and MaxsTechReview committed 2026-10-26 09:01:02 -04:00
1 parent 9fc48515c1
commit b887e8653d
43 files changed
+1176 -49

No files matched your search

+7
View File
@@ -2039,6 +2039,13 @@
<string name="stores_play">Hrát</string>
<string name="stores_install">Instalovat</string>
<string name="bnet_open">Otevřít Battle.net</string>
<string name="bnet_dl_starting">Spouštění stahovače Blizzardu…</string>
<string name="bnet_dl_waiting">Čekání na zavření Battle.net…</string>
<string name="bnet_dl_queued">Čekání na druhé stahování z Battle.net…</string>
<string name="bnet_dl_client_first">Otevřete Battle.net a jednou se přihlaste, pak instalujte jeho hry odsud.</string>
<string name="bnet_dl_failed">Stahovač Blizzardu se zastavil: %1$s</string>
<string name="bnet_dl_agent_error">Chyba Blizzardu %1$s</string>
<string name="bnet_update">Aktualizovat</string>
<string name="bnet_store">Hry od Blizzardu</string>
<string name="stores_resume_install">Pokračovat v instalaci</string>
<string name="stores_dl_interrupted">Přerušeno</string>