Files @ r27443:1150c64644d0
Branch filter:

Location: cpp/openttd-patchpack/source/os/os2/installer/download_opensfx.cmd

Loïc Guilloux
Fix: Check max member count in squirrel classes (#10883)

Manual cherry-pick from https://github.com/albertodemichelis/squirrel/commit/23a0620658714b996d20da3d4dd1a0dcf9b0bd98
@echo off
if "%1" == "" goto err
if "%2" == "" goto err

echo Downloading OpenSFX...

%1\wget http://binaries.openttd.org/installer/opensfx-OPENSFX_VERSION.7z -O %2/baseset/opensfx.7z

echo Extracting OpenSFX...

%1\7za x -y -O%2/baseset %2/baseset/opensfx.7z
del %1\baseset\opensfx.7z /n

echo OpenSFX 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 OpenSFX.

:end