Closed stephen-moyer closed 8 years ago
So here is some weird behavior
Using the getProducDb path alone
Fixed by doing
return Path.Combine(GetBattleNetPath(),
"Agent\\product.db");
Instead, seems Path.Combine will always return the second argument is it begins with \, / or \ literal.
We learn something new every day.
It looks like the product path won't work, you do this:
var productPath = GetBattleNetPath() + GetProductDbPath();
but GetProductDbPath already does this: