You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
380 B

1 month ago
  1. @echo off
  2. rem Set default values for GS (gs with graphics window) and GSC
  3. rem (console mode gs) if the user hasn't set them.
  4. if NOT %GS%/==/ goto :gsset
  5. if EXIST %~dp0..\bin\gswin64.exe set GS=%~dp0..\bin\gswin64
  6. if %GS/==/ set GS=gswin64
  7. :gsset
  8. if NOT %GSC%/==/ goto :gscset
  9. if EXIST %~dp0..\bin\gswin64c.exe set GSC=%~dp0..\bin\gswin64c
  10. if %GSC%/==/ set GSC=gswin64c
  11. :gscset