mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-30 12:19:04 +00:00
16 lines
474 B
PowerShell
16 lines
474 B
PowerShell
|
if (Test-Path "$env:ProgramFiles\Git\bin") {
|
||
|
$env:Path = "$env:ProgramFiles\Git\bin;$env:ProgramFiles\Git\mingw64\bin" + $env:Path
|
||
|
}
|
||
|
elseif (Test-Path "$env:ProgramFiles(x86)\Git\bin") {
|
||
|
$env:Path = "$env:ProgramFiles(x86)\Git\bin;$env:ProgramFiles(x86)\Git\mingw64\bin;" + $env:Path
|
||
|
}
|
||
|
|
||
|
try {
|
||
|
sh.exe build.sh $args
|
||
|
}
|
||
|
catch {
|
||
|
echo "bash.exe doesn't found"
|
||
|
echo "`r`nInstall Git Bash from:"
|
||
|
echo "`r`n https://gitforwindows.org/`r`n"
|
||
|
}
|