Merge pull request #1 from Phrohdoh/fix-launch-mod

Fix launch-mod.sh, update engine to eaf55a864c58ac27bdaf9251603131e5c9d0dab4, add a .gitignore
This commit is contained in:
Paul Chote 2017-02-17 19:29:48 +00:00 committed by GitHub
commit 9bd9b8b590
4 changed files with 17 additions and 5 deletions

12
.gitignore vendored Normal file
View File

@ -0,0 +1,12 @@
bin
obj
mods/*/*.dll
mods/*/*.mdb
mods/*/*.pdb
/*.dll
/*.dll.config
/*.so
/*.dylib
/*.pdb
/*.mdb
/*.exe

4
.gitmodules vendored
View File

@ -1,4 +1,4 @@
[submodule "engine"]
path = engine
url = https://github.com/pchote/OpenRA/
branch = engineargs
url = https://github.com/OpenRA/OpenRA/
branch = bleed

2
engine

@ -1 +1 @@
Subproject commit 2af03da82509ba4edb744c856b50c5a16ed75313
Subproject commit eaf55a864c58ac27bdaf9251603131e5c9d0dab4

View File

@ -5,8 +5,8 @@ MODID="example"
# Don't edit below this line
MODLAUNCHER=$(python -c "import os; print(os.path.realpath('$0'))")
MODROOT=$(dirname $MODLAUNCHER)
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 "$@"
mono OpenRA.Game.exe Engine.LaunchPath="$MODLAUNCHER" "Engine.ModSearchPaths=./mods,$MODROOT/mods" Engine.DefaultMod=$MODID Game.Mod=$MODID "$@"