texlive[65931] Master/bin/windows: win32 => win64 transitions for

commits+siepo at tug.org commits+siepo at tug.org
Sun Feb 19 21:11:52 CET 2023


Revision: 65931
          http://tug.org/svn/texlive?view=revision&revision=65931
Author:   siepo
Date:     2023-02-19 21:11:52 +0100 (Sun, 19 Feb 2023)
Log Message:
-----------
win32 => win64 transitions for bin/windows

Modified Paths:
--------------
    trunk/Master/bin/windows/psviewer.exe
    trunk/Master/bin/windows/runscript.tlu
    trunk/Master/bin/windows/tlshell.exe

Added Paths:
-----------
    trunk/Master/bin/windows/tlmgr.bat

Modified: trunk/Master/bin/windows/psviewer.exe
===================================================================
(Binary files differ)

Modified: trunk/Master/bin/windows/runscript.tlu
===================================================================
--- trunk/Master/bin/windows/runscript.tlu	2023-02-19 18:19:41 UTC (rev 65930)
+++ trunk/Master/bin/windows/runscript.tlu	2023-02-19 20:11:52 UTC (rev 65931)
@@ -78,7 +78,7 @@
       runscript <script-name> [script arguments]
     
     If you prefer to call the script program simply by its name, copy 
-    and rename bin/win32/runscript.exe (or bin/win64/runscript.exe for
+    and rename bin/windows/runscript.exe (or bin/win64/runscript.exe for
     64-bit Windows) to <script-name>.exe and put it somewhere on the
     search path.]]
 
@@ -448,7 +448,7 @@
 -- remove '/runscript.dll'
   a, b = string.find(str, '/', 1, true)
   str = string.sub(str,a+1)
--- remove '/win32'
+-- remove '/windows'
   a, b = string.find(str, '/', 1, true)
   str = string.sub(str,a+1)
 -- remove '/bin'

Added: trunk/Master/bin/windows/tlmgr.bat
===================================================================
--- trunk/Master/bin/windows/tlmgr.bat	                        (rev 0)
+++ trunk/Master/bin/windows/tlmgr.bat	2023-02-19 20:11:52 UTC (rev 65931)
@@ -0,0 +1,67 @@
+ at echo off
+rem Advanced launcher for tlmgr with auto-update
+rem
+rem Public Domain
+rem Originally written 2009 by Tomasz M. Trzeciak
+
+rem Make environment changes local
+setlocal enableextensions
+
+rem Get TL installation root (w/o trailing backslash)
+set tlroot=%~dp0:
+set tlroot=%tlroot:\bin\windows\:=%
+
+rem check for any argument
+if x == x%1 goto noargs
+
+rem check for gui argument
+set args=
+
+:rebuildargs
+shift
+if x == x%0 goto nomoreargs
+if gui == %0 goto guibailout
+if -gui == %0 goto guibailout
+if --gui == %0 goto guibailout
+set args=%args% %0
+goto rebuildargs
+
+:nomoreargs
+
+rem Remove remains of previous update if any
+set tlupdater=%tlroot%\temp\updater-w32
+if exist "%tlupdater%" del "%tlupdater%"
+if exist "%tlupdater%" goto :err_updater_exists
+
+rem Start tlmgr
+set PERL5LIB=%tlroot%\tlpkg\tlperl\lib
+path %tlroot%\tlpkg\tlperl\bin;%tlroot%\bin\windows;%path%
+"%tlroot%\tlpkg\tlperl\bin\perl.exe" "%tlroot%\texmf-dist\scripts\texlive\tlmgr.pl" %args%
+
+rem Finish if there are no updates to do; the last error code will be returned
+if not exist "%tlupdater%" goto :eof
+rem Rename updater script before it is run
+move /y "%tlupdater%" "%tlupdater%.bat">nul
+if errorlevel 1 goto :err_rename_updater
+rem Run updater and don't return
+"%tlupdater%.bat"
+
+rem This should never execute
+echo %~nx0: this message should never show up, please report it to tex-live at tug.org>&2
+exit /b 1
+
+:err_updater_exists
+echo %~nx0: failed to remove previous updater script>&2
+exit /b 1
+
+:err_rename_updater
+echo %~nx0: failed to rename "%tlupdater%">&2
+exit /b 1
+
+:noargs
+echo No arguments given!
+
+:guibailout
+echo Use tlshell as a GUI for tlmgr.
+pause
+exit /b 1


Property changes on: trunk/Master/bin/windows/tlmgr.bat
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Modified: trunk/Master/bin/windows/tlshell.exe
===================================================================
(Binary files differ)



More information about the tex-live-commits mailing list.