feat: patch cs2 gameinfo after metamod install

This commit is contained in:
2026-02-26 21:21:27 +00:00
parent 2a3ad5e78f
commit c7d1627e18
5 changed files with 174 additions and 15 deletions
@@ -15,6 +15,15 @@ WITH metamod_rule AS (
"destination": "/game/csgo",
"stripComponents": 0,
"maxBytes": 268435456
},
{
"id": "ensure-cs2-metamod-gameinfo-entry",
"type": "insert_before_line",
"path": "/game/csgo/gameinfo.gi",
"line": "\\t\\t\\tGame csgo/addons/metamod",
"beforePattern": "^\\\\s*Game\\\\s+csgo\\\\s*$",
"existsPattern": "^\\\\s*Game\\\\s+csgo/addons/metamod\\\\s*$",
"skipIfExists": true
}
]
}