mirror of
https://github.com/darverdevs/PluginInstaller.git
synced 2024-11-22 01:06:06 -08:00
recompile pt1
This commit is contained in:
parent
66630da1ac
commit
fa7c9d9018
Binary file not shown.
|
@ -32,8 +32,6 @@ public class Installer {
|
||||||
public static void InstallUpdater() throws IOException {
|
public static void InstallUpdater() throws IOException {
|
||||||
File file = new File(Main.getInstance().getDataFolder().getParent() + "/EaglerPluginUpdater.jar");
|
File file = new File(Main.getInstance().getDataFolder().getParent() + "/EaglerPluginUpdater.jar");
|
||||||
System.out.println("Check 1 passed");
|
System.out.println("Check 1 passed");
|
||||||
if (!(file.exists())) {
|
|
||||||
System.out.println("Check 2 passed");
|
|
||||||
try {
|
try {
|
||||||
InputStream in = URI.create("https://github.com/darverdevs/EaglerPluginUpdater/raw/main/out/artifacts/EaglerPluginUpdater_jar/EaglerPluginUpdater.jar")
|
InputStream in = URI.create("https://github.com/darverdevs/EaglerPluginUpdater/raw/main/out/artifacts/EaglerPluginUpdater_jar/EaglerPluginUpdater.jar")
|
||||||
.toURL().openStream();
|
.toURL().openStream();
|
||||||
|
@ -44,5 +42,4 @@ public class Installer {
|
||||||
System.out.println("Invalid Link");
|
System.out.println("Invalid Link");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user