Skip to content

Commit

Permalink
lfs
Browse files Browse the repository at this point in the history
  • Loading branch information
steve02081504 committed Jun 20, 2024
1 parent b111c0f commit f62bd78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ps12exe.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ $($_ | Format-List | Out-String)
Write-Host "Opps, something went wrong." -ForegroundColor Yellow
$versionNow = Get-Module -ListAvailable ps12exe | Sort-Object -Property Version -Descending | Select-Object -First 1
$versionOnline = Find-Module ps12exe | Sort-Object -Property Version -Descending | Select-Object -First 1
if ($versionNow.Version -ne $versionOnline.Version) {
if ($versionNow.Version -ne [Version]$versionOnline.Version) {
Write-Host "Latest version is $($versionOnline.Version), try upgrading to it?" -ForegroundColor Yellow
}
else {
Expand Down
2 changes: 1 addition & 1 deletion src/InitCompileThings.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}
$referenceAssembies = if ($targetRuntime -eq 'Framework2.0') {
#_if PSScript
powershell -version 2.0 -OutputFormat xml -file $PSScriptRoot/RuntimePwsh2.0/RefDlls.ps1 -noConsole:($noConsole+0)
powershell -version 2.0 -OutputFormat xml -file $PSScriptRoot/RuntimePwsh2.0/RefDlls.ps1 -noConsole:(+[bool]$noConsole)
#_else
#_include_as_value Pwsh2RefDllsGetterCodeStr $PSScriptRoot/RuntimePwsh2.0/RefDlls.ps1
#_!! powershell -version 2.0 -OutputFormat xml -Command "&{$Pwsh2RefDllsGetterCodeStr}$(if($noConsole){' -noConsole'})"
Expand Down

0 comments on commit f62bd78

Please sign in to comment.