automate setting up game in TB

This commit is contained in:
2025-02-27 16:22:55 +01:00
parent e138bb46a8
commit 24b5edfffc

6
justfile Normal file
View File

@@ -0,0 +1,6 @@
# map trenchbroom game folder to here:
# see https://trenchbroom.github.io/manual/latest/#game_configuration_files
tb_setup_mac:
mkdir -p "$HOME/Library/Application Support/TrenchBroom/games/hedz" | true
ln -s $(pwd)/trenchbroom/hedz/hedz.fgd "$HOME/Library/Application Support/TrenchBroom/games/hedz/hedz.fgd" | true
ln -s $(pwd)/trenchbroom/hedz/GameConfig.cfg "$HOME/Library/Application Support/TrenchBroom/games/hedz/GameConfig.cfg" | true