From e951ae2b18da325bf55204a3a206b5ab316bd007 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Sun, 2 Dec 2018 07:41:01 +0100 Subject: [PATCH] tools: Add Auto-Install script This scripts goal is to attempt to install the addons into the /garrysmod/addons/ directory of the installed Garry's Mod. This should make it massively simpler to quickly get started with modifying and creating your own version of the gamemode. --- tools/autoinstall.bat | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tools/autoinstall.bat diff --git a/tools/autoinstall.bat b/tools/autoinstall.bat new file mode 100644 index 0000000..0ae78bb --- /dev/null +++ b/tools/autoinstall.bat @@ -0,0 +1,18 @@ +@ECHO OFF +CALL "env.win.bat" +ECHO This script must be run as administrator, or will fail with unknown results. + +PUSHD "%GARRYSMODPATH% +PUSHD "garrysmod" +PUSHD "addons" +ECHO Location: %CD% +MKLINK /J prophuntextended "%REPO%source" +MKLINK /J prophunt "%REPO%proxy" +POPD +REM PUSHD "gamemodes" +REM ECHO Location: %CD% +REM MKLINK /J prophuntextended "%REPO%source\gamemodes\prophuntextended" +REM MKLINK /J prophunt "%REPO%proxy\gamemodes\prop_hunt" +REM POPD +POPD +POPD