Skip to content

Commit

Permalink
Update bat files to work both on 32 and 64-bit windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
angavrilov committed Jan 6, 2014
1 parent c68b9fd commit e470f4a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
8 changes: 7 additions & 1 deletion KSP_win/monodevelop.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
@echo off

if defined ProgramFiles(x86) (
set UnityDir=%ProgramFiles(x86)%\Unity
) else (
set UnityDir=%ProgramFiles%\Unity
)

set MONODEVELOP_SDB_TEST=1

"%ProgramFiles%\Unity\MonoDevelop\bin\MonoDevelop.exe"
"%UnityDir%\MonoDevelop\bin\MonoDevelop.exe"
8 changes: 6 additions & 2 deletions Tools/emveepee.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
@echo off

set MonoDir=%ProgramFiles%\Mono-3.2.3
if defined ProgramFiles(x86) (
set MonoDir=%ProgramFiles(x86)%\Mono-3.2.3
) else (
set MonoDir=%ProgramFiles%\Mono-3.2.3
)

rem set GTK2_RC_FILES=%ProgramFiles%\Unity\MonoDevelop\bin\gtkrc.win32

Expand All @@ -12,4 +16,4 @@ set PKG_CONFIG_PATH=%MonoDir%\share\pkgconfig;%MonoDir%\lib\pkgconfig

set MonoDir=

mono.exe emveepee.exe
mono.exe --debug emveepee.exe

0 comments on commit e470f4a

Please sign in to comment.