@@ -210,10 +210,6 @@ private async Task InstallEverything(CancellationToken token)
210210 ProgressTotal = 88 ;
211211 TextTotal = "Creating Shortcuts" ;
212212 await RunShortcutCreator ( token ) ;
213- if ( token . IsCancellationRequested ) break ;
214- ProgressTotal = 99 ;
215- TextTotal = "Cleaning Up" ;
216- await RunChoreoCleanup ( ) ;
217213 } while ( false ) ;
218214 }
219215 catch ( OperationCanceledException )
@@ -1055,27 +1051,5 @@ await Task.Run(() =>
10551051 CreateLinuxShortcut ( "WPIcal" , frcYear , "WPIcal" , token ) ;
10561052 }
10571053 }
1058-
1059- private async Task RunChoreoCleanup ( )
1060- {
1061- if ( Directory . Exists ( Path . Combine ( configurationProvider . InstallDirectory , "choreo" ) ) )
1062- {
1063- Text = "Clean up Choreo Directory" ;
1064- Progress = 25 ;
1065- Directory . Delete ( Path . Combine ( configurationProvider . InstallDirectory , "choreo" ) , true ) ;
1066-
1067- Text = "Clean up Choreo Scripts" ;
1068- Progress = 50 ;
1069- File . Delete ( Path . Combine ( configurationProvider . InstallDirectory , "tools" , "choreo.vbs" ) ) ;
1070- File . Delete ( Path . Combine ( configurationProvider . InstallDirectory , "tools" , "choreo.sh" ) ) ;
1071-
1072- Text = "Clean up Choreo Vendordeps" ;
1073- Progress = 75 ;
1074- File . Delete ( Path . Combine ( configurationProvider . InstallDirectory , "vendordeps" , "ChoreoLib2025Beta.json" ) ) ;
1075- }
1076-
1077- await Task . Yield ( ) ;
1078- }
1079-
10801054 }
10811055}
0 commit comments