(svn r18662) -Feature: Add WarpIN-based installer for OS/2

This commit is contained in:
orudge
2009-12-30 02:23:10 +00:00
parent 60a48dbec1
commit b1f8915f1d
8 changed files with 299 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
@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/data/opengfx.7z
echo Extracting OpenGFX...
%1\7za x -y -O%2/data %2/data/opengfx.7z
del %1\data\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