Change the way to get appdata path

No match.