mirror of
https://github.com/darverdevs/PluginInstaller.git
synced 2024-12-22 07:14:12 -08:00
Compile fixes
This commit is contained in:
parent
39affd3b7e
commit
8186244761
|
@ -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>
|
||||
|
|
Binary file not shown.
1
pom.xml
1
pom.xml
|
@ -9,6 +9,7 @@
|
|||
<version>1.0.0</version>
|
||||
<modules>
|
||||
<module>untitled</module>
|
||||
<module>untitled</module>
|
||||
</modules>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user