Class XPipeInstallation

java.lang.Object
io.xpipe.core.util.XPipeInstallation

public class XPipeInstallation extends Object
  • Constructor Details

    • XPipeInstallation

      public XPipeInstallation()
  • Method Details

    • createExternalAsyncLaunchCommand

      public static String createExternalAsyncLaunchCommand(String installationBase, XPipeDaemonMode mode, String arguments)
    • createExternalLaunchCommand

      public static String createExternalLaunchCommand(String command, String arguments, XPipeDaemonMode mode)
    • getCurrentInstallationBasePath

      public static Path getCurrentInstallationBasePath()
    • isInstallationDistribution

      public static boolean isInstallationDistribution()
    • getLocalDynamicLibraryDirectory

      public static Path getLocalDynamicLibraryDirectory()
    • getLocalExtensionsDirectory

      public static Path getLocalExtensionsDirectory(Path path)
    • getLocalInstallationBasePathForCLI

      public static String getLocalInstallationBasePathForCLI(String cliExecutable) throws Exception
      Throws:
      Exception
    • queryLocalInstallationVersion

      public static String queryLocalInstallationVersion(String exec) throws Exception
      Throws:
      Exception
    • queryInstallationVersion

      public static String queryInstallationVersion(ShellControl p, String exec) throws Exception
      Throws:
      Exception
    • getInstallationExecutable

      public static String getInstallationExecutable(ShellControl p, String installation) throws Exception
      Throws:
      Exception
    • getDataBasePath

      public static String getDataBasePath(ShellControl p) throws Exception
      Throws:
      Exception
    • getLocalDefaultInstallationIcon

      public static Path getLocalDefaultInstallationIcon()
    • getLocalDefaultInstallationBasePath

      public static String getLocalDefaultInstallationBasePath(boolean acceptCustomHome)
    • getDefaultInstallationBasePath

      public static String getDefaultInstallationBasePath(ShellControl p, boolean acceptPortable) throws Exception
      Throws:
      Exception
    • getDaemonDebugScriptPath

      public static String getDaemonDebugScriptPath(OsType type)
    • getDaemonDebugAttachScriptPath

      public static String getDaemonDebugAttachScriptPath(OsType type)
    • getDaemonExecutablePath

      public static String getDaemonExecutablePath(OsType type)
    • getRelativeCliExecutablePath

      public static String getRelativeCliExecutablePath(OsType type)