mirror of
https://github.com/Egor00f/kolibrios-gcc-toolchain.git
synced 2024-11-25 01:53:49 +01:00
15 lines
666 B
PowerShell
15 lines
666 B
PowerShell
#NOTE: Please remove any commented lines to tidy up prior to releasing the package, including this one
|
|
|
|
$packageName = 'kos32-gcc' # arbitrary name for the package, used in messages
|
|
$validExitCodes = @(0) #please insert other valid exit codes here, exit codes for ms http://msdn.microsoft.com/en-us/library/aa368542(VS.85).aspx
|
|
|
|
# main helpers - these have error handling tucked into them already
|
|
# installer, will assert administrative rights
|
|
|
|
Install-ChocolateyPackage "$packageName" -validExitCodes $validExitCodes
|
|
|
|
$INSTALL_PATH = Read-Host 'Path to install toolchain(Enter - default)'
|
|
|
|
.\install.ps1 -InstallPath $INSTALL_PATH
|
|
|
|
$env:KOS32GCCPATH = $INSTALL_PATH |