Class DirBridge

java.lang.Object
pro.gravit.launcher.runtime.client.DirBridge

public class DirBridge extends Object
  • Field Details

    • USE_CUSTOMDIR_PROPERTY

      public static final String USE_CUSTOMDIR_PROPERTY
      See Also:
    • CUSTOMDIR_PROPERTY

      public static final String CUSTOMDIR_PROPERTY
      See Also:
    • USE_OPTDIR_PROPERTY

      public static final String USE_OPTDIR_PROPERTY
      See Also:
    • dir

      public static Path dir
    • dirUpdates

      public static Path dirUpdates
    • defaultUpdatesDir

      public static Path defaultUpdatesDir
    • useLegacyDir

      public static boolean useLegacyDir
  • Constructor Details

    • DirBridge

      public DirBridge()
  • Method Details

    • move

      public static void move(Path newDir) throws IOException
      Throws:
      IOException
    • getAppDataDir

      public static Path getAppDataDir() throws IOException
      Throws:
      IOException
    • getLauncherDir

      public static Path getLauncherDir(String projectname) throws IOException
      Throws:
      IOException
    • getGuardDir

      public static Path getGuardDir()
    • getGuardDir

      public static Path getGuardDir(pro.gravit.utils.helper.JVMHelper.ARCH arch, pro.gravit.utils.helper.JVMHelper.OS os)
    • getLegacyLauncherDir

      public static Path getLegacyLauncherDir(String projectname)
    • setUseLegacyDir

      public static void setUseLegacyDir(boolean b)