13 lines
430 B
Bash
Executable File
13 lines
430 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Change this to match your mod
|
|
MODID="example"
|
|
|
|
# Don't edit below this line
|
|
MODLAUNCHER=$(python -c "import os; print(os.path.realpath('$0'))")
|
|
MODROOT=$(dirname "$MODLAUNCHER")
|
|
|
|
cd engine
|
|
# TODO: Remove ./mods from the search path after we deprecate cross-mod references
|
|
mono OpenRA.Game.exe Engine.LaunchPath="$MODLAUNCHER" "Engine.ModSearchPaths=./mods,$MODROOT/mods" Engine.DefaultMod=$MODID Game.Mod=$MODID "$@"
|