Skip to content

Commit

Permalink
Fixing stuck Windows installation for Git #88
Browse files Browse the repository at this point in the history
  • Loading branch information
rat-moonshine committed Feb 18, 2022
1 parent 60881b6 commit aaad417
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions MoonshineSDKInstaller/src/components/HelperInstaller.mxml
Original file line number Diff line number Diff line change
Expand Up @@ -289,14 +289,6 @@
INSTALLER_APACHE_FLEX.moonshineFlexVersion = feathersObjectForApacheInstaller.version;
INSTALLER_APACHE_FLEX.startInstallationFeathers(feathersObjectForApacheInstaller);
break;
case ComponentTypes.TYPE_GIT:
if (HelperConstants.IS_MACOS)
{
progressBar.visible = lblLastMessage.visible = false;
GitSVNDetector.getInstance().installXCodeCommandLine(onGitSVNInstallMacOS);
return;
}
break;
case ComponentTypes.TYPE_HAXE:
var neko:ComponentVO = HelperUtils.getComponentByType(ComponentTypes.TYPE_NEKO);
if (!neko.isAlreadyDownloaded)
Expand All @@ -317,6 +309,16 @@
HelperConstants.DEFAULT_INSTALLATION_PATH.nativePath + File.separator + "Haxe"
);
break;
case ComponentTypes.TYPE_GIT:
// **IMPORTANT**
// we should keep TYPE_GIT as last case so for Windows the
// process automatically shifts into 'default' case
if (HelperConstants.IS_MACOS)
{
progressBar.visible = lblLastMessage.visible = false;
GitSVNDetector.getInstance().installXCodeCommandLine(onGitSVNInstallMacOS);
break;
}
default:
archiveDownloader = new ArchiveDownloader(item);
archiveDownloader.installerApacheFlexInstance = INSTALLER_APACHE_FLEX;
Expand Down

0 comments on commit aaad417

Please sign in to comment.