Package pro.gravit.launcher.client
Class DirBridge
java.lang.Object
pro.gravit.launcher.client.DirBridge
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Pathstatic Pathstatic PathgetGuardDir(pro.gravit.utils.helper.JVMHelper.ARCH arch, pro.gravit.utils.helper.JVMHelper.OS os) static PathgetLauncherDir(String projectname) static PathgetLegacyLauncherDir(String projectname) static voidstatic voidsetUseLegacyDir(boolean b)
-
Field Details
-
USE_CUSTOMDIR_PROPERTY
- See Also:
-
CUSTOMDIR_PROPERTY
- See Also:
-
USE_OPTDIR_PROPERTY
- See Also:
-
dir
-
dirUpdates
-
defaultUpdatesDir
-
useLegacyDir
public static boolean useLegacyDir
-
-
Constructor Details
-
DirBridge
public DirBridge()
-
-
Method Details
-
move
- Throws:
IOException
-
getAppDataDir
- Throws:
IOException
-
getLauncherDir
- Throws:
IOException
-
getGuardDir
-
getGuardDir
public static Path getGuardDir(pro.gravit.utils.helper.JVMHelper.ARCH arch, pro.gravit.utils.helper.JVMHelper.OS os) -
getLegacyLauncherDir
-
setUseLegacyDir
public static void setUseLegacyDir(boolean b)
-