Fix: RepoRoot path - install.ps1 is at repo root, not in a subdirectory

This commit is contained in:
nvtien
2026-02-16 14:07:59 +09:00
parent c03aad9066
commit c88f36dbed

View File

@@ -5,11 +5,12 @@ param(
) )
$ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path $ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
$RepoRoot = Split-Path -Parent $ScriptDir $RepoRoot = $ScriptDir
if ($Workspace) { if ($Workspace) {
$Dest = Join-Path (Get-Location) ".agent\skills" $Dest = Join-Path (Get-Location) ".agent\skills"
} else { }
else {
$Dest = Join-Path $env:USERPROFILE ".gemini\antigravity\skills" $Dest = Join-Path $env:USERPROFILE ".gemini\antigravity\skills"
} }