Initial commit

This commit is contained in:
Иван Кузьменко 2025-09-01 02:25:40 +03:00
commit ee4762673a
14 changed files with 410 additions and 0 deletions

12
common.ps1 Normal file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env pwsh
Get-Content .env | ForEach-Object {
if ($_) {
$name, $value = $_.split('=', 2)
set-content env:\$name $value
}
}
function RunProgram([string] $program, [parameter(ValueFromRemainingArguments = $true)][string[]] $arguments) {
Start-Process -NoNewWindow -Wait -FilePath $program -ArgumentList $arguments
}