Try again

This commit is contained in:
FriwiDev 2021-10-25 14:26:05 +02:00
parent 12f76fc925
commit 8c673ef4b2
2 changed files with 8 additions and 8 deletions

View File

@ -1,10 +1,10 @@
@echo off
if ("%2"=="") ( ^
echo Usage: compile_windows.bat <architecture> <buildType> && ^
echo && ^
echo architecture: the target architecture to build for. Architectures are the docker architectures (e.g. 386 or amd64). && ^
echo buildType: either Release or Debug && ^
echo "Usage: compile_windows.bat <architecture> <buildType>" && ^
echo "" && ^
echo "architecture: the target architecture to build for. Architectures are the docker architectures (e.g. 386 or amd64)." && ^
echo "buildType: either Release or Debug" && ^
exit 1 ^
)

View File

@ -1,12 +1,12 @@
@echo off
if "%TARGETARCH%"=="386" (echo Building 32-bit version) ^
else (echo Building 64-bit version)
if "%TARGETARCH%"=="386" (echo "Building 32-bit version") ^
else (echo "Building 64-bit version")
#Check residency of workdir
cd C:
if exists jcef\README.md (echo Found existing files to build) ^
else (echo Did not find files to build - cloning... && rmdir /S /Q jcef && git clone https://bitbucket.org/chromiumembedded/java-cef jcef)
if exists "jcef\README.md" (echo "Found existing files to build") ^
else (echo "Did not find files to build - cloning..." && rmdir /S /Q jcef && git clone https://bitbucket.org/chromiumembedded/java-cef jcef)
cd jcef
#Prepare build dir