Skip to content

Commit 444516b

Browse files
jwaisnerN6REJ
andauthored
Ghostscript 10.07.0 (#19)
* Add Ghostscript 10.07.0 configuration and update release properties * Improve update_cidfmap.bat error handling and path resolution - Add existence check for gswin64c.exe before execution - Use pushd/popd for safer directory navigation - Capture and propagate exit codes properly - Use quoted paths to handle spaces in directory names - Add error message when executable is not found --------- Co-authored-by: Bear <programming@hallhome.us>
1 parent d8d526c commit 444516b

4 files changed

Lines changed: 18 additions & 1 deletion

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
ghostscriptVersion = "10.07.0"
2+
ghostscriptExe = "bin/gswin64.exe"
3+
ghostscriptExeConsole = "bin/gswin64c.exe"
4+
5+
bundleRelease = "@RELEASE_VERSION@"
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
@ECHO OFF
2+
3+
pushd "%~dp0"
4+
if not exist "%~dp0bin\gswin64c.exe" (
5+
echo ERROR: gswin64c.exe not found in "%~dp0bin"
6+
exit /b 1
7+
)
8+
"%~dp0bin\gswin64c.exe" -q -dBATCH -sFONTDIR=c:/windows/fonts -sCIDFMAP=lib/cidfmap lib/mkcidfm.ps
9+
set EXITCODE=%ERRORLEVEL%
10+
popd
11+
exit /b %EXITCODE%

build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bundle.name = ghostscript
2-
bundle.release = 2026.1.15
2+
bundle.release = 2026.4.12
33
bundle.type = tools
44
bundle.format = 7z
55

releases.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
10.07.0 = https://github.com/Bearsampp/module-ghostscript/releases/download/2026.4.12/bearsampp-ghostscript-10.07.0-2026.4.12.7z
12
10.06.0 = https://github.com/Bearsampp/module-ghostscript/releases/download/2026.1.15/bearsampp-ghostscript-10.06.0-2026.1.15.7z
23
10.05.1 = https://github.com/Bearsampp/module-ghostscript/releases/download/2025.7.31/bearsampp-ghostscript-10.05.1-2025.7.31.7z
34
10.05.0 = https://github.com/Bearsampp/module-ghostscript/releases/download/2025.4.26/bearsampp-ghostscript-10.05.0-2025.4.26.7z

0 commit comments

Comments
 (0)