Launch4J конфиг по умолчанию

This commit is contained in:
Gravit 2018-12-24 19:16:44 +07:00
parent db1abf9a17
commit 19509d7ac5
No known key found for this signature in database
GPG key ID: 061981E1E85D3216

View file

@ -446,6 +446,13 @@ private void generateConfigIfNotExists() throws IOException {
Config newConfig = new Config();
newConfig.mirrors = new String[]{"http://mirror.gravitlauncher.ml/"};
newConfig.launch4j = new ExeConf();
newConfig.launch4j.copyright = "© GravitLauncher Team";
newConfig.launch4j.fileDesc = "GravitLauncher ".concat(Launcher.getVersion().getVersionString());
newConfig.launch4j.fileVer = Launcher.getVersion().getVersionString();
newConfig.launch4j.internalName = "Launcher";
newConfig.launch4j.trademarks = "This product is licensed under GPLv3";
newConfig.launch4j.txtFileVersion = "%s, build %d";
newConfig.launch4j.txtProductVersion = "%s, build %d";
newConfig.buildPostTransform = new PostBuildTransformConf();
newConfig.env = LauncherConfig.LauncherEnvironment.STD;
newConfig.authHandler = new MemoryAuthHandler();