1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 06:16:04 +00:00

Change Windows env from USERPROFILE to APPDATA (#77)

This commit is contained in:
Shayne Hartford 2023-02-27 10:45:04 -05:00 committed by GitHub
parent adfbb97af8
commit ec5f05c345
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ pub fn minecraft_dir() -> Option<PathBuf> {
pub fn home_env_var() -> &'static str {
#[cfg(target_os = "windows")]
{
"USERPROFILE"
"APPDATA"
}
#[cfg(target_os = "macos")]
{