From 19509d7ac5cf8edd8cfef43656c4cd279105e5a2 Mon Sep 17 00:00:00 2001 From: Gravit Date: Mon, 24 Dec 2018 19:16:44 +0700 Subject: [PATCH] =?UTF-8?q?Launch4J=20=D0=BA=D0=BE=D0=BD=D1=84=D0=B8=D0=B3?= =?UTF-8?q?=20=D0=BF=D0=BE=20=D1=83=D0=BC=D0=BE=D0=BB=D1=87=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/ru/gravit/launchserver/LaunchServer.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java b/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java index ea6b677d..dddf7985 100644 --- a/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java +++ b/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java @@ -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();