Added plugin download to appveyor

This commit is contained in:
DeadlySurprise
2015-02-21 21:45:52 +01:00
parent c50feeb4e2
commit 4668452e9b
2 changed files with 6 additions and 4 deletions

View File

@@ -229,17 +229,17 @@ FunctionEnd
!insertmacro Clean "un."
Section "Uninstall"
${nsProcess::FindProcess} "OpenRa.Game.exe" $R0
${nsProcess::FindProcess} "OpenRA.Game.exe" $R0
IntCmp $R0 0 gameRunning
${nsProcess::FindProcess} "OpenRa.exe" $R0
${nsProcess::FindProcess} "OpenRA.exe" $R0
IntCmp $R0 0 gameRunning
${nsProcess::FindProcess} "OpenRa.Editor.exe" $R0
${nsProcess::FindProcess} "OpenRA.Editor.exe" $R0
IntCmp $R0 0 gameRunning
${nsProcess::Unload}
Call un.Clean
Goto end
gameRunning:
MessageBox MB_OK|MB_ICONEXCLAMATION "OpenRa is running. Please close it first" /SD IDOK
MessageBox MB_OK|MB_ICONEXCLAMATION "OpenRA is running. Please close it first" /SD IDOK
abort
end:
SectionEnd