bytelyst-devops-tools/run_installers.ps1
Saravanakumar D efe0da3169 chore(devops): add cross-platform runners and README; normalize EOLs
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-29 21:26:47 -07:00

17 lines
611 B
PowerShell

<#
PowerShell wrapper to launch the WSL installer or show platform-specific instructions.
Usage: .\run_installers.ps1 [-Preview]
#>
param([switch]$Preview)
Write-Host "Running cross-platform installer helper"
if (Get-Command wsl -ErrorAction SilentlyContinue) {
if ($Preview) {
wsl bash -lc 'sed -n "1,120p" /mnt/d/SANDBOX/mygh/learning_ai_devops_tools/install_clis_wsl.sh'
} else {
wsl bash -ic "cd /mnt/d/SANDBOX/mygh/learning_ai_devops_tools && bash -i ./install_clis_wsl.sh"
}
} else {
Write-Host "WSL not found. Please run manually on the target platform according to README_INSTALL.md"
}