refactor-reset-revert #1

Merged
floppydiscen merged 61 commits from refactor-reset-revert into main 2026-01-15 16:32:20 +00:00
Showing only changes of commit 32a0e89f72 - Show all commits

View File

@@ -131,7 +131,7 @@ function Install-Package {
if ($MinVersion -and $version) {
# Extract semantic version numbers only - stop before any non-digit/non-dot characters
# This extracts "2.52.0" from "2.52.0.windows.1"
if ($version -match '^(\d+)(?:\.(\d+))?(?:\.(\d+))?') {
if ($version -match '(\d+)(?:\.(\d+))?(?:\.(\d+))?') {
$installedVersion = $matches[1]
try {
if ([version]$installedVersion -lt [version]$MinVersion) {
@@ -619,7 +619,6 @@ Write-Host " code --version" -ForegroundColor White
Write-Success "Repository cloned successfully!"
}
# Open in VSCode
Write-Host " Opening in VSCode..." -ForegroundColor Cyan
if (Get-Command code -ErrorAction SilentlyContinue) {
& code $workshopPath