blob: df896f2c7a583ea0dd2ea3eb584b1df29ff2793d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
@echo off
rem Launcher script for PSV
rem Make environment changes local
setlocal enableextensions
rem Get TL root (should be two levels up)
for %%I in (%~dp0..\..) do (set tlroot=%%~fI)
rem Use provided GS
set GS_LIB=%tlroot%\tlpkg\tlgs\lib;%tlroot%\tlpkg\tlgs\fonts
set GS_DLL=%tlroot%\tlpkg\tlgs\bin\gsdll32.dll
rem Add PSV to path
path %tlroot%\tlpkg\tlpsv;%path%
rem Start PSV and exit
start gswxlua -l psv.wx.lua -p psv_view.ps -sINPUT=%1 %2
|