summaryrefslogtreecommitdiff
path: root/os/os2/installer/download_nosound.cmd
blob: 39e9843a92e8692df4a6fb5dc29104a85a14cb15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@echo off
if "%1" == "" goto err
if "%2" == "" goto err

echo Downloading NoSound...

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

echo Extracting NoSound...

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

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

:end