Fix: RepoRoot path - install.ps1 is at repo root, not in a subdirectory
This commit is contained in:
@@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user