update damit claude mir nicht immer meinen mod-namen ruiniert.
This commit is contained in:
8
build.sh
8
build.sh
@@ -1,11 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Set your 7DTD installation path
|
||||
GAME_DIR="${GAME_DIR:-$HOME/.local/share/7DaysToDie}"
|
||||
GAME_DIR="${GAME_DIR:-$HOME/Software/SteamLibrary/steamapps/common/7 Days To Die}"
|
||||
|
||||
# Use csc (Roslyn compiler) instead of mcs
|
||||
csc -target:library \
|
||||
-out:BotCommandMod.dll \
|
||||
-out:CHRANIBotTNG.dll \
|
||||
-nostdlib \
|
||||
-r:"$GAME_DIR/7DaysToDie_Data/Managed/mscorlib.dll" \
|
||||
-r:"$GAME_DIR/7DaysToDie_Data/Managed/netstandard.dll" \
|
||||
@@ -13,5 +13,5 @@ csc -target:library \
|
||||
-r:"$GAME_DIR/7DaysToDie_Data/Managed/System.Core.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
|
||||
-r:"/home/ecv/Software/SteamLibrary/steamapps/common/7 Days To Die/Mods/0_TFP_Harmony/0Harmony.dll" \
|
||||
Harmony/CHRANIBotTNG.cs
|
||||
|
||||
Reference in New Issue
Block a user