powershell migration

This commit is contained in:
2025-10-07 21:21:47 +03:00
parent 4829e210e9
commit dc22461901
18 changed files with 158 additions and 97 deletions
+14
View File
@@ -0,0 +1,14 @@
# --- init.ps1 ---
# Переходим в папку скрипта
Set-Location -Path $PSScriptRoot
# Определяем root аналогично %~dp0..\
$root = Join-Path $PSScriptRoot ".."
# Подключаем vars.ps1
$varsFile = Join-Path $root "settings\vars.ps1"
if (Test-Path $varsFile) {
. $varsFile # точка + пробел = source / импорт
} else {
Write-Warning "Vars file not found: $varsFile"
}