mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 23:44:38 +00:00
Change Windows env from USERPROFILE to APPDATA (#77)
This commit is contained in:
parent
adfbb97af8
commit
ec5f05c345
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ pub fn minecraft_dir() -> Option<PathBuf> {
|
||||||
pub fn home_env_var() -> &'static str {
|
pub fn home_env_var() -> &'static str {
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
{
|
{
|
||||||
"USERPROFILE"
|
"APPDATA"
|
||||||
}
|
}
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue