File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ static AutoShell()
6969 { "paint 3d" , "C:\\ Program Files\\ WindowsApps\\ Microsoft.MSPaint_10.1807.18022.0_x64__8wekyb3d8bbwe\\ " } ,
7070 { "m365 copilot" , "C:\\ Program Files\\ WindowsApps\\ Microsoft.MicrosoftOfficeHub_19.2512.45041.0_x64__8wekyb3d8bbwe\\ M365Copilot.exe" } ,
7171 { "copilot" , "C:\\ Program Files\\ WindowsApps\\ Microsoft.MicrosoftOfficeHub_19.2512.45041.0_x64__8wekyb3d8bbwe\\ M365Copilot.exe" } ,
72- { "spotify" , "C:\\ Program Files\\ WindowsApps\\ SpotifyAB.SpotifyMusic_1.278.418 .0_x64__zpdnekdrzrea0\\ spotify.exe" } ,
72+ { "spotify" , "C:\\ Program Files\\ WindowsApps\\ SpotifyAB.SpotifyMusic_1.279.427 .0_x64__zpdnekdrzrea0\\ spotify.exe" } ,
7373 } ;
7474
7575 // add the entries to the hashtable
@@ -532,7 +532,11 @@ static void OpenApplication(string friendlyName)
532532 {
533533 Process . Start ( path ) ;
534534 }
535- catch { }
535+ catch ( System . ComponentModel . Win32Exception )
536+ {
537+ // alternate start method
538+ Process . Start ( friendlyName ) ;
539+ }
536540 }
537541 else
538542 {
You can’t perform that action at this time.
0 commit comments