@@ -15,18 +15,18 @@ static void Main(string[] args)
1515 var arguments = ( string ) localSettings . Values [ "Arguments" ] ;
1616 if ( ! string . IsNullOrWhiteSpace ( arguments ) )
1717 {
18- if ( arguments . Equals ( "DetectUserPaths " ) )
18+ if ( arguments . Equals ( "StartupTasks " ) )
1919 {
20+ // Detect User Paths
2021 ApplicationData . Current . LocalSettings . Values [ "DetectedDesktopLocation" ] = Microsoft . Win32 . Registry . GetValue ( @"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" , "Desktop" , null ) ;
2122 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 ) ;
2223 ApplicationData . Current . LocalSettings . Values [ "DetectedDocumentsLocation" ] = Microsoft . Win32 . Registry . GetValue ( @"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" , "Personal" , null ) ;
2324 ApplicationData . Current . LocalSettings . Values [ "DetectedPicturesLocation" ] = Microsoft . Win32 . Registry . GetValue ( @"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" , "My Pictures" , null ) ;
2425 ApplicationData . Current . LocalSettings . Values [ "DetectedMusicLocation" ] = Microsoft . Win32 . Registry . GetValue ( @"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" , "My Music" , null ) ;
2526 ApplicationData . Current . LocalSettings . Values [ "DetectedVideosLocation" ] = Microsoft . Win32 . Registry . GetValue ( @"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" , "My Video" , null ) ;
2627 ApplicationData . Current . LocalSettings . Values [ "DetectedOneDriveLocation" ] = Microsoft . Win32 . Registry . GetValue ( @"HKEY_CURRENT_USER\Software\Microsoft\OneDrive" , "UserFolder" , null ) ;
27- }
28- else if ( arguments . Equals ( "CheckQuickLookAvailability" ) )
29- {
28+
29+ // Check QuickLook Availability
3030 QuickLook . CheckQuickLookAvailability ( localSettings ) ;
3131 }
3232 else if ( arguments . Equals ( "ToggleQuickLook" ) )
0 commit comments