files
kolibrios-gcc-toolchain/chocolatey/tools/chocolateyInstall.ps1
2025-01-08 13:23:21 +05:00

16 lines
599 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
# main helpers - these have error handling tucked into them already
# installer, will assert administrative rights
$INSTALL_PATH = Read-Host 'Path to install toolchain(Enter - default)'
Expand-7Zip -ArchiveFileName C:\ProgramData\Chocolatey\lib\kos32-gcc\tools\kos32-toolchain-win.7z -TargetPath $INSTALL_PATH
Out-File -FilePath C:\ProgramData\Chocolatey\lib\kos32-gcc\install-path -InputObject $INSTALL_PATH