/bin/twn: add init command to copy templates over

This commit is contained in:
veclavtalica 2025-02-04 06:01:41 +03:00
parent f3a2dc9063
commit 4efe80bb5a

View File

@ -18,6 +18,9 @@ case "$1" in
$0 build && gdb --se=libgame.so -ex run --args "$(basename $PWD)" "${@:2}"
;;
init ) cp -r "$TWNROOT/apps/templates/$2" "$3"
;;
apitrace ) case "$2" in
take ) export ASAN_OPTIONS=verify_asan_link_order=0
export LD_PRELOAD="/usr/lib/libubsan.so /usr/lib/apitrace/wrappers/glxtrace.so $LD_PRELOAD"