In my app, i am using the $APPCONFIG and $APPDATA paths - however i have recently upgraded one on my machines to use windows 11 and discovered that on windows 11 these dirs point to C:\Users\<user>\AppData\Local\<identifier>. While on Windows10 these dirs point to C:\Users\<user>\AppData\Roaming\<identifier>
Is there a built-in method to detect whether the user is on win10 or win11 so that i can programmatically switch?
I know that i can do this in rust - i am just curious if there is a built-in (for tauri) api to do this, as i have not seen it listed in the docs.