From b363bbeb742a133bf61cfd0c3a27694a6d89bac3 Mon Sep 17 00:00:00 2001 From: Magnetar Man <40738529+Magnetarman@users.noreply.github.com> Date: Fri, 23 Oct 2026 12:34:11 +0200 Subject: [PATCH 1/2] Update 60-Module.PspEnvironment.ps1 --- start-modules/60-Module.PspEnvironment.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/start-modules/60-Module.PspEnvironment.ps1 b/start-modules/60-Module.PspEnvironment.ps1 index 60748d31..97870412 100644 --- a/start-modules/60-Module.PspEnvironment.ps1 +++ b/start-modules/60-Module.PspEnvironment.ps1 @@ -231,6 +231,10 @@ function Install-PspEnvironment { $result.Changed = $true Write-StyledMessage -Type Success -Text (Get-SourceTextLoc 'uiText.powershell7ProfileConfigured') Write-ToolkitLog -Level 'INFO' -Message "PowerShell profile installed: $targetProfile" + $unblocked = Unblock-File -LiteralPath $targetProfile -ErrorAction SilentlyContinue + if ($unblocked) { + Write-ToolkitLog -Level 'INFO' -Message "PowerShell profile unblocked (Zone.Identifier removed): $targetProfile" + } } else { $result.Success = $false From a8d6bfc4e69146ab7536bd20a3f78687793fc373 Mon Sep 17 00:00:00 2001 From: Magnetarman <40738529+Magnetarman@users.noreply.github.com> Date: Fri, 23 Oct 2026 10:36:27 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=E2=9C=85=20Build=20start-core.ps1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- start-core.ps1 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/start-core.ps1 b/start-core.ps1 index 593ebb92..923ea1bb 100644 --- a/start-core.ps1 +++ b/start-core.ps1 @@ -4,7 +4,7 @@ param( ) Set-StrictMode -Version Latest $script:Branch = 'Dev' -$ToolkitVersion = "2.6.0 (Build 5)" +$ToolkitVersion = "Work In Progress" $GitHubRepoRawBase = @{ Dev = "https://raw.githubusercontent.com/Magnetarman/WinToolkit/refs/heads/Dev" main = "https://raw.githubusercontent.com/Magnetarman/WinToolkit/refs/heads/main" @@ -1778,6 +1778,10 @@ function Install-PspEnvironment { $result.Changed = $true Write-StyledMessage -Type Success -Text (Get-SourceTextLoc 'uiText.powershell7ProfileConfigured') Write-ToolkitLog -Level 'INFO' -Message "PowerShell profile installed: $targetProfile" + $unblocked = Unblock-File -LiteralPath $targetProfile -ErrorAction SilentlyContinue + if ($unblocked) { + Write-ToolkitLog -Level 'INFO' -Message "PowerShell profile unblocked (Zone.Identifier removed): $targetProfile" + } } else { $result.Success = $false