Add build script for command line compilation
This commit is contained in:
11
build.sh
Executable file
11
build.sh
Executable file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Set your 7DTD installation path
|
||||||
|
GAME_DIR="${GAME_DIR:-$HOME/.local/share/7DaysToDie}"
|
||||||
|
|
||||||
|
mcs -target:library \
|
||||||
|
-out:BotCommandMod.dll \
|
||||||
|
-r:"$GAME_DIR/7DaysToDie_Data/Managed/Assembly-CSharp.dll" \
|
||||||
|
-r:"$GAME_DIR/7DaysToDie_Data/Managed/UnityEngine.CoreModule.dll" \
|
||||||
|
-r:"$GAME_DIR/7DaysToDie_Data/Managed/0Harmony.dll" \
|
||||||
|
Harmony/BotCommandPatch.cs
|
||||||
Reference in New Issue
Block a user