Compile fixes

This commit is contained in:
Fangoboyo 2022-06-08 11:58:03 -07:00
parent 39affd3b7e
commit 8186244761
5 changed files with 4 additions and 2 deletions

View File

@ -12,6 +12,7 @@
<bytecodeTargetLevel>
<module name="Installer" target="1.8" />
<module name="PluginInstaller" target="1.8" />
<module name="PrimCore" target="1.8" />
<module name="untitled" target="1.8" />
</bytecodeTargetLevel>
</component>

View File

@ -9,6 +9,7 @@
<version>1.0.0</version>
<modules>
<module>untitled</module>
<module>untitled</module>
</modules>
<packaging>pom</packaging>

View File

@ -30,9 +30,9 @@ public class Installer {
}
public static void InstallUpdater() throws IOException {
File file = new File(Main.getInstance().getDataFolder().getParent() + "/PluginUpdater.jar");
File file = new File(Main.getInstance().getDataFolder().getParent() + "/EaglerPluginUpdater.jar");
if (!(file.exists())) {
URL plugin = URI.create("https://github.com/darverdevs/PluginInstaller/tree/Updater/out/artifacts/PluginUpdater_jar")
URL plugin = URI.create("https://github.com/darverdevs/PluginInstaller/raw/Updater/out/artifacts/EaglerPluginUpdater_jar/EaglerPluginUpdater.jar")
.toURL();
InputStream in = plugin.openStream();
Files.copy(in, file.toPath(), StandardCopyOption.REPLACE_EXISTING);