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.
This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2018-12-02 07:41:01 +01:00
parent 004f89bd0a
commit e951ae2b18
+18
View File
@@ -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