0xf4b1 / hearthstone-linux

Play Hearthstone from Blizzard Entertainment natively on Linux without the Battle.net Desktop App and Wine
126 stars 18 forks source link

File already exists? #60

Closed wosym closed 3 months ago

wosym commented 4 months ago

Looks like something broke:

0% 0/4044 [00:00<?, ?file/s]Error: <...>/hearthstone-linux/hearthstone/BlizzardBrowser/BlizzardBrowser.app/Contents/Frameworks/BlizzardBrowser Helper (GPU).app/Contents/Info.plist already exists. Not overwriting.

Also tried deleting the venv folder and starting from scratch. Same problem.

Experienced the issue on two computers simultaneously: one on Arch, the other on Ubuntu.

rflandau commented 4 months ago

I had this issue as well on Debian Bookworm, but a full re-craft (by junking everything in the hearthstone-linux/hearthstone/ directory) solved it for me.

wosym commented 3 months ago

@0xf4b1 Was the bug fixed? Because yes, deleting the folder fixed it. But Downloading the entire 30GB again every single update... is not workable for many people.

alterNERDtive commented 3 months ago
> du -sh BlizzardBrowser                                                                     master
199M    BlizzardBrowser

How is that 30GB?

0xf4b1 commented 3 months ago

yes, the problem is fixed with this change. The macOS client now contains the new BlizzardBrowser folder and the installation with keg fails if some file already exists. In case of updating what happens is that that keg downloads all changed files into its repository in the .ngdp inside the hearthstone directory from which it installs the most recent version, so it does not redownload everything because we never delete the files inside ngdp.