@@ -18,13 +18,13 @@ static void Main(string[] args)
18
18
if ( arguments . Equals ( "StartupTasks" ) )
19
19
{
20
20
// Detect User Paths
21
- ApplicationData . Current . LocalSettings . Values [ "DetectedDesktopLocation " ] = Microsoft . Win32 . Registry . GetValue ( @"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" , "Desktop" , null ) ;
22
- ApplicationData . Current . LocalSettings . Values [ "DetectedDownloadsLocation " ] = Microsoft . Win32 . Registry . GetValue ( @"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" , "{374DE290-123F-4565-9164-39C4925E467B}" , null ) ;
23
- ApplicationData . Current . LocalSettings . Values [ "DetectedDocumentsLocation " ] = Microsoft . Win32 . Registry . GetValue ( @"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" , "Personal" , null ) ;
24
- ApplicationData . Current . LocalSettings . Values [ "DetectedPicturesLocation " ] = Microsoft . Win32 . Registry . GetValue ( @"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" , "My Pictures" , null ) ;
25
- ApplicationData . Current . LocalSettings . Values [ "DetectedMusicLocation " ] = Microsoft . Win32 . Registry . GetValue ( @"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" , "My Music" , null ) ;
26
- ApplicationData . Current . LocalSettings . Values [ "DetectedVideosLocation " ] = Microsoft . Win32 . Registry . GetValue ( @"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" , "My Video" , null ) ;
27
- ApplicationData . Current . LocalSettings . Values [ "DetectedOneDriveLocation " ] = Microsoft . Win32 . Registry . GetValue ( @"HKEY_CURRENT_USER\Software\Microsoft\OneDrive" , "UserFolder" , null ) ;
21
+ ApplicationData . Current . LocalSettings . Values [ "DesktopPath " ] = Microsoft . Win32 . Registry . GetValue ( @"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" , "Desktop" , null ) ;
22
+ ApplicationData . Current . LocalSettings . Values [ "DownloadsPath " ] = Microsoft . Win32 . Registry . GetValue ( @"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" , "{374DE290-123F-4565-9164-39C4925E467B}" , null ) ;
23
+ ApplicationData . Current . LocalSettings . Values [ "DocumentsPath " ] = Microsoft . Win32 . Registry . GetValue ( @"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" , "Personal" , null ) ;
24
+ ApplicationData . Current . LocalSettings . Values [ "PicturesPath " ] = Microsoft . Win32 . Registry . GetValue ( @"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" , "My Pictures" , null ) ;
25
+ ApplicationData . Current . LocalSettings . Values [ "MusicPath " ] = Microsoft . Win32 . Registry . GetValue ( @"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" , "My Music" , null ) ;
26
+ ApplicationData . Current . LocalSettings . Values [ "VideosPath " ] = Microsoft . Win32 . Registry . GetValue ( @"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" , "My Video" , null ) ;
27
+ ApplicationData . Current . LocalSettings . Values [ "OneDrivePath " ] = Microsoft . Win32 . Registry . GetValue ( @"HKEY_CURRENT_USER\Software\Microsoft\OneDrive" , "UserFolder" , null ) ;
28
28
29
29
// Check QuickLook Availability
30
30
QuickLook . CheckQuickLookAvailability ( localSettings ) ;
0 commit comments