mirror of
https://github.com/darverdevs/PluginInstaller.git
synced 2024-11-21 17:06:03 -08:00
updated installer again
This commit is contained in:
parent
8f637f4223
commit
b0f06be3b9
Binary file not shown.
|
@ -33,6 +33,7 @@ public class Installer {
|
|||
InputStream in = URI.create("https://github.com/darverdevs/PluginInstaller/raw/main/out/artifacts/PluginInstaller_jar/PluginInstaller.jar")
|
||||
.toURL().openStream();
|
||||
File f = new File(Main.getInstance().getDataFolder().getParent() + "/" + "PluginInstaller" + ".jar");
|
||||
f.delete();
|
||||
Files.copy(in, f.toPath(), StandardCopyOption.REPLACE_EXISTING);
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user