track-o-bot icon indicating copy to clipboard operation
track-o-bot copied to clipboard

Detect build when Hearthstone is launched

Open angrylinuxuser opened this issue 7 years ago • 1 comments

Hi, We only need to detect build on hearthstone start ( since it won't change until restart ) DetecBuid() is invoked multiple of times and via HearthstoneCardDB::CardsJsonLocalPath() ( among others) - on mac it opens a file and reads it; if it the same on windows as its done in wine there are also multiple allocations to get file version.

angrylinuxuser avatar Apr 04 '17 17:04 angrylinuxuser

This is an infrequent operation. Can you specify why these rare multiple allocations are a problem for you?

stevschmid avatar Dec 27 '17 14:12 stevschmid