Files
@ r25015:8deed239577a
Branch filter:
Location: cpp/openttd-patchpack/source/os/os2/installer/download_opengfx.cmd - annotation
r25015:8deed239577a
486 B
application/x-dos-batch
Fix: ensure switching blitter happens in the main thread
This because video-drivers might need to make changes to their
context, which for most video-drivers has to be done in the same
thread as the window was created; main thread in our case.
This because video-drivers might need to make changes to their
context, which for most video-drivers has to be done in the same
thread as the window was created; main thread in our case.
r14105:c5f56a8d1311 r14105:c5f56a8d1311 r14105:c5f56a8d1311 r14105:c5f56a8d1311 r14105:c5f56a8d1311 r14105:c5f56a8d1311 r18375:af3d1f9949fb r14105:c5f56a8d1311 r14105:c5f56a8d1311 r14105:c5f56a8d1311 r18375:af3d1f9949fb r18375:af3d1f9949fb r14105:c5f56a8d1311 r14105:c5f56a8d1311 r14105:c5f56a8d1311 r14105:c5f56a8d1311 r14105:c5f56a8d1311 r14105:c5f56a8d1311 r14105:c5f56a8d1311 r14105:c5f56a8d1311 r14105:c5f56a8d1311 | @echo off
if "%1" == "" goto err
if "%2" == "" goto err
echo Downloading OpenGFX...
%1\wget http://binaries.openttd.org/installer/opengfx-OPENGFX_VERSION.7z -O %2/baseset/opengfx.7z
echo Extracting OpenGFX...
%1\7za x -y -O%2/baseset %2/baseset/opengfx.7z
del %1\baseset\opengfx.7z /n
echo OpenGFX has been installed.
goto end
:err
echo This batch file is only intended for use by the OpenTTD installer.
echo Please visit www.openttd.org for details on downloading OpenGFX.
:end
|