mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-01-09 00:59:44 +03:00
Launch4J конфиг по умолчанию
This commit is contained in:
parent
db1abf9a17
commit
19509d7ac5
1 changed files with 7 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue