Exemplo n.º 1
0
        internal static string GetGluonExePath()
        {
            if (PlatformIdentifier.IsWindows())
            {
                return(FindTool.ObtainToolCommand(
                           Gluon.GUI_WINDOWS,
                           new List <String>()
                {
                    GetWindowsInstallationFolder()
                }));
            }

            if (PlatformIdentifier.IsMac())
            {
                string path = GetToolCommand(Gluon.NEW_GUI_MACOS);
                if (path != null)
                {
                    return(path);
                }

                return(GetToolCommand(Gluon.LEGACY_GUI_MACOS));
            }

            return(null);
        }
Exemplo n.º 2
0
        internal static string GetPlasticExePath()
        {
            if (PlatformIdentifier.IsWindows())
            {
                return(FindTool.ObtainToolCommand(
                           Plastic.GUI_WINDOWS,
                           new List <String>()
                {
                    GetWindowsInstallationFolder()
                }));
            }

            if (PlatformIdentifier.IsMac())
            {
                return(GetToolCommand(Plastic.GUI_MACOS));
            }

            return(null);
        }