Update CONFIGPATH directory in Config.java
The configuration path directory has been changed from the user's home directory to a mount point. This is to provide a more appropriate access point for the "ShutdownInfo" configuration file.
This commit is contained in:
parent
d8b4367dcc
commit
f16166033a
|
|
@ -31,7 +31,7 @@ public final class Config {
|
||||||
public static File CONFIGPATH;
|
public static File CONFIGPATH;
|
||||||
|
|
||||||
public static void init() { // todo setup share for the config
|
public static void init() { // todo setup share for the config
|
||||||
CONFIGPATH = new File(System.getProperty("user.home") + File.separator + "share" + File.separator + "configs" + File.separator + "ShutdownInfo");
|
CONFIGPATH = new File(File.separator + "mnt" + File.separator + "configs" + File.separator + "ShutdownInfo");
|
||||||
CONFIG_FILE = new File(CONFIGPATH, "config.yml");
|
CONFIG_FILE = new File(CONFIGPATH, "config.yml");
|
||||||
|
|
||||||
configLoader = YAMLConfigurationLoader.builder()
|
configLoader = YAMLConfigurationLoader.builder()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user