Chnaged the link path of EaglerPluginInstaller

This commit is contained in:
BongoCat 2022-08-06 13:53:39 -07:00
parent 64557cbb9d
commit 802b7809dd
8 changed files with 13 additions and 18 deletions

View File

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module version="4">
<component name="FacetManager">
<facet type="minecraft" name="Minecraft">
<configuration>
<autoDetectTypes>
<platformType>BUKKIT</platformType>
</autoDetectTypes>
</configuration>
</facet>
</component>
</module>

View File

@ -30,8 +30,8 @@
<dependencies>
<dependency>
<groupId>com.github.EaglerMaven</groupId>
<artifactId>PluginInstaller</artifactId>
<version>1.0.0</version>
<artifactId>EaglerPluginInstaller</artifactId>
<version>1.0.9</version>
</dependency>
<dependency>
<groupId>com.github.EaglerMaven</groupId>

View File

@ -1,20 +1,20 @@
package tech.nully.PluginUpdater;
import org.bukkit.plugin.Plugin;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
import java.nio.file.Files;
import java.nio.file.StandardCopyOption;
import tech.nully.PluginInstaller.Main;
import static org.bukkit.Bukkit.getServer;
import org.bukkit.plugin.Plugin;
import tech.nully.PluginInstaller.Main;
public class Updater {
public static void UpdateInstaller() throws IOException {
InputStream in = URI.create("https://github.com/darverdevs/PluginInstaller/raw/main/out/artifacts/EaglerPluginInstaller_jar/EaglerPluginInstaller.jar")
InputStream in = URI.create("https://github.com/darverdevs/PluginInstaller/raw/main/target/EaglerPluginInstaller-1.1.5.jar")
.toURL().openStream();
File f = new File(Main.getInstance().getDataFolder().getParent() + "/EaglerPluginInstaller.jar");
Files.copy(in, f.toPath(), StandardCopyOption.REPLACE_EXISTING);

Binary file not shown.

View File

@ -0,0 +1,5 @@
#Generated by Maven
#Sat Aug 06 13:52:34 PDT 2022
version=1.0.9
groupId=tech.nully
artifactId=EaglerPluginUpdater

View File

@ -0,0 +1,2 @@
/home/bongle/GitHub/EaglerPluginUpdater/src/main/java/tech/nully/PluginUpdater/Main.java
/home/bongle/GitHub/EaglerPluginUpdater/src/main/java/tech/nully/PluginUpdater/Updater.java