File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ sealed partial class App : Application
37
37
public static string DesktopPath = Environment . GetFolderPath ( Environment . SpecialFolder . DesktopDirectory ) ;
38
38
public static string DocumentsPath = Environment . GetFolderPath ( Environment . SpecialFolder . MyDocuments ) ;
39
39
public static string DownloadsPath = Environment . GetFolderPath ( Environment . SpecialFolder . UserProfile ) + @"\Downloads" ;
40
- public static string OneDrivePath = Environment . GetFolderPath ( Environment . SpecialFolder . UserProfile ) + @"\ OneDrive";
40
+ public static string OneDrivePath = Environment . GetEnvironmentVariable ( " OneDrive") ;
41
41
public static string PicturesPath = Environment . GetFolderPath ( Environment . SpecialFolder . MyPictures ) ;
42
42
public static string MusicPath = Environment . GetFolderPath ( Environment . SpecialFolder . MyMusic ) ;
43
43
public static string VideosPath = Environment . GetFolderPath ( Environment . SpecialFolder . MyVideos ) ;
You can’t perform that action at this time.
0 commit comments