Commit 59ebff01 authored by superblaubeere27's avatar superblaubeere27

Fixed bugs

parent 2f05ed23
......@@ -6,7 +6,7 @@
<groupId>net.ccbluex</groupId>
<artifactId>LiquidLauncher</artifactId>
<version>1.25</version>
<version>1.26</version>
<build>
<plugins>
<plugin>
......
......@@ -46,7 +46,7 @@ public class LiquidLauncher {
public static final boolean DEVEL_VERSION = true;
public static final Logger LOGGER = Logger.getLogger(LAUNCHER_NAME);
public static final String LAUNCHER_OPENSOURCE_PROJECT = "https://git.liquidbounce.net/CCBlueX/LiquidLauncherV2";
public static final double LAUNCHER_VERSION = 1.25;
public static final double LAUNCHER_VERSION = 1.26;
public static final String LAUNCHER_VERSION_STRING = "v" + LAUNCHER_VERSION + "-SNAPSHOT";
private static final String LIQUIDLAUNCHER_DOWNLOAD = "https://ci.liquidbounce.net/job/LiquidLauncher/";
public static LiquidLauncher liquidLauncher;
......@@ -339,6 +339,10 @@ public class LiquidLauncher {
assetManager.checkAssetsForVersion(mcJ.get("assets").getAsString());
// Files.copy(tree.getOptifineFile(), new File(tree.getModsFolder(), "optifine.jar"));
File[] modFiles = tree.getModsFolder().listFiles();
if(modFiles != null) for (File modFile : modFiles) {
modFile.delete();
}
Files.copy(tree.getLiquidBounceFile(), new File(tree.getModsFolder(), "liquidbounce.jar"));
StringBuilder libraries = new StringBuilder();
libraries.append(libraryManager.getCPList(tree.getLibraryFolder()));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment