Skip to content

Commit

Permalink
Improved error reporting.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Sep 9, 2024
1 parent 0cd55b8 commit 476ea4e
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions build/windows/install.dependencies.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
@echo off

powershell .\install.dependencies.ps1
if %errorlevel% neq 0 exit /b %errorlevel%
if %errorlevel% eq 0 goto installGhostscript

echo Failed to install dependencies.
exit /b %errorlevel%

:installGhostscript
..\..\tools\windows\gs1000w32.exe /S
if %errorlevel% neq 0 exit /b %errorlevel%
if %errorlevel% eq 0 goto done

echo Failed to install Ghostscript.
exit /b %errorlevel%

:done

0 comments on commit 476ea4e

Please sign in to comment.