This commit is contained in:
Fangoboyo 2022-06-08 12:43:37 -07:00
parent 5f044777cf
commit 6947974dfe
5 changed files with 2 additions and 17 deletions

View File

@ -7,10 +7,10 @@
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" /> <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
<outputRelativeToContentRoot value="true" /> <outputRelativeToContentRoot value="true" />
<module name="Installer" /> <module name="Installer" />
<module name="EaglerPluginInstaller" />
</profile> </profile>
</annotationProcessing> </annotationProcessing>
<bytecodeTargetLevel> <bytecodeTargetLevel>
<module name="EaglerPluginUpdater" target="1.8" />
<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="PrimCore" target="1.8" />

View File

@ -32,7 +32,7 @@ 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");
if (!(file.exists())) { if (!(file.exists())) {
URL plugin = URI.create("https://github.com/darverdevs/PluginInstaller/raw/Updater/out/artifacts/EaglerPluginUpdater_jar/EaglerPluginUpdater.jar") URL plugin = URI.create("https://github.com/darverdevs/EaglerPluginUpdater/raw/main/out/artifacts/EaglerPluginInstaller_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);

View File

@ -1,15 +0,0 @@
name: EaglerPluginInstaller
version: 1.0.9
main: tech.nully.PluginInstaller.Main
prefix: [PluginInstaller]
loadbefore: [PluginUpdater]
authors: [BongoCat]
description: A plugin that is capable of installing the latest compatible version of plugins with eaglercraft from an online repository
website: nully.tech
commands:
install:
usage: /<command> <plugin>
description: Installs the latest compatible version of the requested plugin
plist:
usage: /<command>
description: Gives you a list of available plugins with PluginInstaller