This commit is contained in:
Lloyd McKenzie
2020-09-20 19:45:40 -06:00
2 changed files with 4 additions and 4 deletions

View File

@@ -17,9 +17,9 @@ SET txoption=
SET JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 SET JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8
IF EXIST "%input_cache_path%\%publisher_jar%" ( IF EXIST "%input_cache_path%\%publisher_jar%" (
JAVA -jar "%input_cache_path%\%publisher_jar%" -ig ig.ini %txoption% %* JAVA -jar "%input_cache_path%\%publisher_jar%" -ig . %txoption% %*
) ELSE If exist "..\%publisher_jar%" ( ) ELSE If exist "..\%publisher_jar%" (
JAVA -jar "..\%publisher_jar%" -ig ig.ini %txoption% %* JAVA -jar "..\%publisher_jar%" -ig . %txoption% %*
) ELSE ( ) ELSE (
ECHO IG Publisher NOT FOUND in input-cache or parent folder. Please run _updatePublisher. Aborting... ECHO IG Publisher NOT FOUND in input-cache or parent folder. Please run _updatePublisher. Aborting...
) )

View File

@@ -16,12 +16,12 @@ echo "$txoption"
publisher=$input_cache_path/$publisher_jar publisher=$input_cache_path/$publisher_jar
if test -f "$publisher"; then if test -f "$publisher"; then
java -jar $publisher -ig ig.ini $txoption $* java -jar $publisher -ig . $txoption $*
else else
publisher=../$publisher_jar publisher=../$publisher_jar
if test -f "$publisher"; then if test -f "$publisher"; then
java -jar $publisher -ig ig.ini $txoption $* java -jar $publisher -ig . $txoption $*
else else
echo IG Publisher NOT FOUND in input-cache or parent folder. Please run _updatePublisher. Aborting... echo IG Publisher NOT FOUND in input-cache or parent folder. Please run _updatePublisher. Aborting...
fi fi