Fast fix param has to be in first line

This commit is contained in:
2021-12-15 09:44:19 +01:00
parent d2a78fd86f
commit e8e0b269cf

View File

@@ -1,7 +1,9 @@
# Build 21. Using API 2
Write-Host "Starting Powerful Computer Manager..."
param([Int32]$startup=0)
#Write-Host $startup
$host.UI.RawUI.WindowTitle = "Powerful Computer Manager - Do Not Close"
Write-Host "Starting Powerful Computer Manager..."
$srcdir = $PSCommandPath | Split-Path -Parent
$server = (Get-Content "$srcdir\configpcm.ini" | select -Skip 1 | ConvertFrom-StringData).server
$resources = (Get-Content "$srcdir\configpcm.ini" | select -Skip 1 | ConvertFrom-StringData).resources