--- a/codesys-ide/install.sh +++ b/codesys-ide/install.sh @@ -25,6 +25,7 @@ CDS_LINK="https://store.codesys.com/ftp_download/3S/CODESYS/300000/3.5.14.0/CODESYS%203.5.14.0.exe" TRICKS_LINK="https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks" +ADDITIONAL_PACKAGES=https://forge.codesys.com/svn/tol,cforge,code/trunk/cforge.package export WINEPREFIX=~/.wine.cds export WINEARCH=win32 @@ -109,6 +110,13 @@ wget --no-verbose --output-document=setup.exe -c "${CDS_LINK}" wget --no-verbose --output-document=winetricks -c "${TRICKS_LINK}" chmod 755 winetricks +# ( +# mkdir -p Packages +# cd Packages +# for i in ${ADDITIONAL_PACKAGES}; do +# wget --no-verbose -c "${i}" +# done +# ) } function prereq @@ -141,7 +149,7 @@ function install { - wine-development setup.exe /v/qn /s /v'INSTALLDIR=C:\\CODESYS' /v"ADDLOCAL=Basic,CODESYS" /v"CDS_INSTALL_SERVICES=0" + wine-development setup.exe /v/qn /s /v'INSTALLDIR=C:\\CODESYS' /v"ADDLOCAL=Basic,CODESYS,cforge Tool" /v"CDS_INSTALL_SERVICES=0" wineserver-development -w }