Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aseprite
GitHub Repository: aseprite/aseprite
Path: blob/main/build.ps1
1903 views
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"
}