Ejemplo n.º 1
0
        private void RunSuite()
        {
            try
            {
                if (!GlobalToolHelper.IsGlobalToolInstalled("abp-suite"))
                {
                    Logger.LogWarning("ABP Suite is not installed! To install it you can run the command: \"abp suite install\"");
                    return;
                }
            }
            catch (Exception ex)
            {
                Logger.LogWarning("Couldn't check ABP Suite installed status: " + ex.Message);
            }

            CmdHelper.RunCmd("abp-suite");
        }
Ejemplo n.º 2
0
    private Process StartSuite()
    {
        try
        {
            if (!GlobalToolHelper.IsGlobalToolInstalled("abp-suite"))
            {
                Logger.LogWarning("ABP Suite is not installed! To install it you can run the command: \"abp suite install\"");
                return(null);
            }
        }
        catch (Exception ex)
        {
            Logger.LogWarning("Couldn't check ABP Suite installed status: " + ex.Message);
        }

        if (IsSuiteAlreadyRunning())
        {
            return(null);
        }

        return(CmdHelper.RunCmdAndGetProcess("abp-suite --no-browser"));
    }