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:
@@ -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
|
||||||
Reference in New Issue
Block a user