[ros-diffs] [dreimer] 46922: Add the Error Sound to the Batch Version, too. It ONLY works if tee alias Logging is disabled for now!
dreimer at svn.reactos.org
dreimer at svn.reactos.org
Sun Apr 18 17:16:54 CEST 2010
Author: dreimer
Date: Sun Apr 18 17:16:52 2010
New Revision: 46922
URL: http://svn.reactos.org/svn/reactos?rev=46922&view=rev
Log:
Add the Error Sound to the Batch Version, too.
It ONLY works if tee alias Logging is disabled for now!
Modified:
trunk/tools/RosBE/RosBE-Windows/Root/Build-Shared.cmd
Modified: trunk/tools/RosBE/RosBE-Windows/Root/Build-Shared.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Build-Shared.cmd?rev=46922&r1=46921&r2=46922&view=diff
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/Build-Shared.cmd [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/Build-Shared.cmd [iso-8859-1] Sun Apr 18 17:16:52 2010
@@ -63,8 +63,13 @@
:EOC
:: Highlight the fact that building has ended.
-cd /d "%_ROSBE_BASEDIR%\samples"
-playwav.exe Notification.wav
+if !errorlevel! GEQ 1 (
+ cd /d "%_ROSBE_BASEDIR%\samples"
+ playwav.exe error.wav
+) else (
+ cd /d "%_ROSBE_BASEDIR%\samples"
+ playwav.exe notification.wav
+)
flash.exe
More information about the Ros-diffs
mailing list