mirror of
https://github.com/darverdevs/PluginInstaller.git
synced 2024-11-22 09:16:06 -08:00
Compile fixes
This commit is contained in:
parent
39affd3b7e
commit
8186244761
|
@ -12,6 +12,7 @@
|
||||||
<bytecodeTargetLevel>
|
<bytecodeTargetLevel>
|
||||||
<module name="Installer" target="1.8" />
|
<module name="Installer" target="1.8" />
|
||||||
<module name="PluginInstaller" target="1.8" />
|
<module name="PluginInstaller" target="1.8" />
|
||||||
|
<module name="PrimCore" target="1.8" />
|
||||||
<module name="untitled" target="1.8" />
|
<module name="untitled" target="1.8" />
|
||||||
</bytecodeTargetLevel>
|
</bytecodeTargetLevel>
|
||||||
</component>
|
</component>
|
||||||
|
|
Binary file not shown.
1
pom.xml
1
pom.xml
|
@ -9,6 +9,7 @@
|
||||||
<version>1.0.0</version>
|
<version>1.0.0</version>
|
||||||
<modules>
|
<modules>
|
||||||
<module>untitled</module>
|
<module>untitled</module>
|
||||||
|
<module>untitled</module>
|
||||||
</modules>
|
</modules>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
|
|
|
@ -30,9 +30,9 @@ public class Installer {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void InstallUpdater() throws IOException {
|
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())) {
|
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();
|
.toURL();
|
||||||
InputStream in = plugin.openStream();
|
InputStream in = plugin.openStream();
|
||||||
Files.copy(in, file.toPath(), StandardCopyOption.REPLACE_EXISTING);
|
Files.copy(in, file.toPath(), StandardCopyOption.REPLACE_EXISTING);
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user