From f7fb62fcea893c3820a9f0471665ada64440e6f1 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Thu, 1 Oct 2020 12:00:38 +0200 Subject: [PATCH] fix on windows --- sparrow.bat | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sparrow.bat b/sparrow.bat index 2d3919d0..5bbef599 100644 --- a/sparrow.bat +++ b/sparrow.bat @@ -1,7 +1,8 @@ +@echo off set ARGS=%* -if "%ARGS%" != "" ( - gradlew.bat run --args="%ARGS%" +if "%ARGS%" == "" ( + gradlew.bat run ) else ( - gradlew.bat run + gradlew.bat run --args="%ARGS%" )