mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-10 06:54:19 +00:00
toolchain: v29 preparations
This commit is contained in:
parent
dd988ba449
commit
d70bcfdfff
2 changed files with 9 additions and 2 deletions
|
@ -13,7 +13,7 @@ if not ["%FBT_NOENV%"] == [""] (
|
|||
exit /b 0
|
||||
)
|
||||
|
||||
set "FLIPPER_TOOLCHAIN_VERSION=28"
|
||||
set "FLIPPER_TOOLCHAIN_VERSION=29"
|
||||
|
||||
if ["%FBT_TOOLCHAIN_PATH%"] == [""] (
|
||||
set "FBT_TOOLCHAIN_PATH=%FBT_ROOT%"
|
||||
|
|
|
@ -13,6 +13,8 @@ $toolchain_zip = "$toolchain_dist_folder-$toolchain_version.zip"
|
|||
$toolchain_zip_temp_path = "$download_dir\$toolchain_zip"
|
||||
$toolchain_dist_temp_path = "$download_dir\$toolchain_dist_folder"
|
||||
|
||||
try {
|
||||
|
||||
if (Test-Path -LiteralPath "$toolchain_target_path") {
|
||||
Write-Host -NoNewline "Removing old Windows toolchain.."
|
||||
Remove-Item -LiteralPath "$toolchain_target_path" -Force -Recurse
|
||||
|
@ -57,4 +59,9 @@ Write-Host -NoNewline "Cleaning up temporary files.."
|
|||
Remove-Item -LiteralPath "$toolchain_zip_temp_path" -Force
|
||||
Write-Host "done!"
|
||||
|
||||
# dasdasd
|
||||
} catch {
|
||||
Write-Host "An error occurred"
|
||||
Write-Host $_
|
||||
$host.SetShouldExit(1)
|
||||
Exit 1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue