This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
cb-legacy-dev/installers/_install-openwatcom.bat
2023-11-18 17:56:10 +01:00

15 lines
531 B
Batchfile

@echo off
REM OPENWATCOM INSTALLATION
REM =========================
pushd "%~dp0"
if not exist "%~dp0\installers\open-watcom-c-win32-1.9.exe" (
echo Downloading OpenWatcom 1.9
powershell wget https://github.com/open-watcom/open-watcom-1.9/releases/download/ow1.9/open-watcom-c-win32-1.9.exe -UseBasicParsing -OutFile '%~dp0\installers\open-watcom-c-win32-1.9.exe'
)
if not exist .\CodeBlocks\watcom (
echo.
echo Extracting OpenWatcom
"%ZPATH%\7z.exe" x "%~dp0\installers\open-watcom-c-win32-1.9.exe" -o"%~dp0\CodeBlocks\watcom"
)