Add open-config script, VS Code tasks, and vanilla file warnings

This commit is contained in:
2026-08-20 16:35:58 -04:00
parent 358941379c
commit b76a724945
5 changed files with 139 additions and 52 deletions
+17
View File
@@ -0,0 +1,17 @@
# Open a 7D2D game config file in VS Code
# Usage: .kilo/scripts/open-config.ps1 -Filename "archetypes.xml"
param(
[Parameter(Mandatory=$true)]
[string]$Filename
)
$gameConfigPath = "C:\Steam\steamapps\common\7 Days To Die\Data\Config"
$filePath = Join-Path $gameConfigPath $Filename
if (-not (Test-Path $filePath)) {
Write-Error "File not found: $filePath"
exit 1
}
code $filePath