File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -387,10 +387,4 @@ try {
387
387
Write-Host " Warning: Error releasing application COM object: $ ( $_.Exception.Message ) "
388
388
}
389
389
390
- # Force garbage collection to ensure COM objects are properly released
391
- [System.GC ]::Collect()
392
- [System.GC ]::WaitForPendingFinalizers()
393
-
394
- # Clean up variables
395
- Remove-Variable - Name doc, officeApp - ErrorAction SilentlyContinue
396
390
Write-Host " VBA import completed successfully."
Original file line number Diff line number Diff line change @@ -237,10 +237,10 @@ $artifactUrl = "https://github.com/DecimalTurn/Rubberduck/releases/download/v2.5
237
237
$artifactZipPath = " $env: TEMP \RubberduckArtifacts.zip"
238
238
$rubberduckInstallDir = $rubberduckInstallPath # Use the path returned by Test-RubberduckInstalled
239
239
240
- Write-Host " 📥 Downloading artifacts from $artifactUrl ... "
240
+ Write-Host " 📥 Downloading artifacts from $artifactUrl "
241
241
Invoke-WebRequest - Uri $artifactUrl - OutFile $artifactZipPath
242
242
243
- Write-Host " 📦 Extracting artifacts to $rubberduckInstallDir ... "
243
+ Write-Host " 📦 Extracting artifacts to $rubberduckInstallDir "
244
244
Expand-Archive - Path $artifactZipPath - DestinationPath $rubberduckInstallDir - Force
245
245
246
246
Write-Host " 🏁 Rubberduck installation and configuration completed."
You can’t perform that action at this time.
0 commit comments