File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ use std::{
15
15
/// which is:
16
16
/// * Linux: `/home/UserName/.local/share/APP_ID`
17
17
/// * macOS: `/Users/UserName/Library/Application Support/APP_ID`
18
- /// * Windows: `C:\Users\UserName\AppData\Roaming\APP_ID`
18
+ /// * Windows: `C:\Users\UserName\AppData\Roaming\APP_ID\data `
19
19
///
20
20
/// If the `directories` feature is not enabled, it uses a naive approximation that returns the
21
21
/// same result for the most common systems.
@@ -59,7 +59,7 @@ fn naive_storage_dir(app_id: &str) -> Option<PathBuf> {
59
59
. join ( "Application Support" )
60
60
. join ( app_id. replace ( |c : char | c. is_ascii_whitespace ( ) , "-" ) )
61
61
} ) ,
62
- OS :: Windows => var_os ( "APPDATA" ) . map ( |s| PathBuf :: from ( s) . join ( app_id) ) ,
62
+ OS :: Windows => var_os ( "APPDATA" ) . map ( |s| PathBuf :: from ( s) . join ( app_id) . join ( "data" ) ) ,
63
63
OS :: Unknown | OS :: Android | OS :: IOS => None ,
64
64
}
65
65
}
You can’t perform that action at this time.
0 commit comments