feat: add antigravity cli and termato as installed packages
This commit is contained in:
@@ -22,6 +22,7 @@ foreach ($module in $modules) {
|
||||
|
||||
# --- Set PowerShell execution policy ---
|
||||
$policy = Get-ExecutionPolicy -Scope CurrentUser
|
||||
|
||||
if ($policy -ne "RemoteSigned" -and $policy -ne "Unrestricted") {
|
||||
Write-Host " Setting execution policy to RemoteSigned for CurrentUser..." -ForegroundColor Yellow
|
||||
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
|
||||
@@ -29,6 +30,7 @@ if ($policy -ne "RemoteSigned" -and $policy -ne "Unrestricted") {
|
||||
|
||||
# --- Ensure profile directory exists ---
|
||||
$profileDir = Split-Path $PROFILE -Parent
|
||||
|
||||
if (-not (Test-Path $profileDir)) {
|
||||
New-Item -ItemType Directory -Path $profileDir -Force | Out-Null
|
||||
Write-Host " Created profile directory: $profileDir" -ForegroundColor Green
|
||||
|
||||
Reference in New Issue
Block a user