mirror of
https://github.com/Egor00f/kolibrios-gcc-toolchain.git
synced 2025-09-20 18:00:07 +02:00
16 lines
599 B
PowerShell
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
|
|
|