remove binary nsProcess.dll from the repository
This commit is contained in:
parent
2cb4c28fa7
commit
527051e29b
3 changed files with 14 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -18,6 +18,7 @@ src/res/qrc_resources.cpp
|
||||||
windows/ASIOSDK2
|
windows/ASIOSDK2
|
||||||
windows/VC_redist.x64.exe
|
windows/VC_redist.x64.exe
|
||||||
windows/vc_redist.x86.exe
|
windows/vc_redist.x86.exe
|
||||||
|
windows/nsProcess.dll
|
||||||
debug/
|
debug/
|
||||||
release/
|
release/
|
||||||
build/
|
build/
|
||||||
|
|
|
@ -35,9 +35,18 @@ set NSIS_PATH=%PROGRAMFILES(x86)%\NSIS
|
||||||
set VS_REDIST32_EXE=vc_redist.x86.exe
|
set VS_REDIST32_EXE=vc_redist.x86.exe
|
||||||
set VS_REDIST64_EXE=VC_redist.x64.exe
|
set VS_REDIST64_EXE=VC_redist.x64.exe
|
||||||
|
|
||||||
|
rem check for environment
|
||||||
if "%VSINSTALLDIR%" == "" goto vsenvproblem
|
if "%VSINSTALLDIR%" == "" goto vsenvproblem
|
||||||
if "%QTDIR32%" == "" goto qtdirproblem
|
if "%QTDIR32%" == "" goto qtdirproblem
|
||||||
if "%QTDIR64%" == "" goto qtdirproblem
|
if "%QTDIR64%" == "" goto qtdirproblem
|
||||||
|
|
||||||
|
rem check for needed NSIS plugin
|
||||||
|
if not exist nsProcess.dll (
|
||||||
|
echo nsProcess.dll not found. Trying to download the 7z file containing the dll in NsProcess\Plugin.
|
||||||
|
powershell -Command "Invoke-WebRequest https://nsis.sourceforge.io/mediawiki/images/1/18/NsProcess.zip -OutFile nsProcess.7z"
|
||||||
|
goto nsispluginproblem
|
||||||
|
)
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
|
||||||
|
@ -92,4 +101,8 @@ goto endofskript
|
||||||
echo The QTDIR32 and QTDIR64 is not set, please set these environment variables correclty before calling this script
|
echo The QTDIR32 and QTDIR64 is not set, please set these environment variables correclty before calling this script
|
||||||
goto endofskript
|
goto endofskript
|
||||||
|
|
||||||
|
:nsispluginproblem
|
||||||
|
echo Required NSIS plugin not found. Unzip the nsProcess.dll and copy it in the windows directory before calling this script
|
||||||
|
goto endofskript
|
||||||
|
|
||||||
:endofskript
|
:endofskript
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue