We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LobbyAPI/src/me/zombie_striker/lobbyapi/Main.java
Line 211 in eed090a
The problem is shown in this part of the stack trace:
java.io.FileNotFoundException: https://github.com/ZombieStriker/LobbyAPI/releases/download/v3.7.92/LobbyAPI
at me.zombie_striker.lobbyapi.utils.GithubUpdater$1.run(GithubUpdater.java:57) <<==
Where you call it in the above ref in Main.java, the JAR name doesn't match what's at the location you want. I think this would work:
GithubUpdater.autoUpdate(this, "ZombieStriker", "LobbyAPI", "LobbyAPI.jar");
That way, when you construct the URI here:
final URL download = new URL("https://github.com/" + author + "/" + githubProject + "/releases/download/"+ tagname + "/" + jarname);
The passed in jarname will actually be the name of your jar file in your Assets here:
https://github.com/ZombieStriker/LobbyAPI/releases/download/v3.7.92/LobbyAPI.jar
The text was updated successfully, but these errors were encountered:
No branches or pull requests
LobbyAPI/src/me/zombie_striker/lobbyapi/Main.java
Line 211 in eed090a
The problem is shown in this part of the stack trace:
java.io.FileNotFoundException: https://github.com/ZombieStriker/LobbyAPI/releases/download/v3.7.92/LobbyAPI
at me.zombie_striker.lobbyapi.utils.GithubUpdater$1.run(GithubUpdater.java:57) <<==
Where you call it in the above ref in Main.java, the JAR name doesn't match what's at the location you want. I think this would work:
GithubUpdater.autoUpdate(this, "ZombieStriker", "LobbyAPI", "LobbyAPI.jar");
That way, when you construct the URI here:
final URL download = new URL("https://github.com/" + author + "/" + githubProject + "/releases/download/"+ tagname + "/" + jarname);
The passed in jarname will actually be the name of your jar file in your Assets here:
https://github.com/ZombieStriker/LobbyAPI/releases/download/v3.7.92/LobbyAPI.jar
The text was updated successfully, but these errors were encountered: