Skip to content

Commit

Permalink
Updated Git setup command to fix mingw64 error Moonshine-IDE/Moonshin…
Browse files Browse the repository at this point in the history
…e-SDK-Installer#92 @moonshine-ide/moonshine-sdk-installer#92
  • Loading branch information
rat-moonshine committed Jun 1, 2023
1 parent 8d25da5 commit 39f9b6e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -330,10 +330,10 @@ package actionScripts.utils
if (substrIndex != -1)
{
var gitRootPath:String = model.gitPath.substring(0, substrIndex);
if (FileUtils.isPathExists(gitRootPath + "\\mingw64\\ssl\\cert.pem"))
if (FileUtils.isPathExists(gitRootPath + "\\mingw64\\ssl\\certs\\ca-bundle.crt"))
{
setCommand += getSetExportWithoutQuote("GIT_HOME", gitRootPath);
additionalCommandLines += "\"%GIT_HOME%\\bin\\git\" config --global http.sslCAInfo \"%GIT_HOME%\\mingw64\\ssl\\cert.pem\"\r\n";
additionalCommandLines += "\"%GIT_HOME%\\bin\\git\" config --global http.sslCAInfo \"%GIT_HOME%\\mingw64\\ssl\\certs\\ca-bundle.crt\"\r\n";
isValidToExecute = true;
}
}
Expand Down

0 comments on commit 39f9b6e

Please sign in to comment.