- Joined
- Jul 11, 2020
- Messages
- 0
- Reaction score
- 26
- Points
- 0
Today ill be releasing my personal automatical updater.
This will just download a jar file from the web and replace it if the version is outdated.
[hide] https://pastebin.com/K5U5U7yb [/hide]
WebUtils was not made by me,it was made by IHaq.
[hide] https://pastebin.com/yWRZTjQN [/hide]
The JAR File location: new File(Minecraft.getMinecraft().mcDataDir.toString() + "/" + "versions" + "/" + "1.8" + "/1.8e.jar"); // I saved it as a 1.8e just for testing purposes
Example (in main class):
try {
Updater.INSTANCE.runCheck();
} catch (IOException e) {
e.printStackTrace();
}
This will just download a jar file from the web and replace it if the version is outdated.
[hide] https://pastebin.com/K5U5U7yb [/hide]
WebUtils was not made by me,it was made by IHaq.
[hide] https://pastebin.com/yWRZTjQN [/hide]
The JAR File location: new File(Minecraft.getMinecraft().mcDataDir.toString() + "/" + "versions" + "/" + "1.8" + "/1.8e.jar"); // I saved it as a 1.8e just for testing purposes
Example (in main class):
try {
Updater.INSTANCE.runCheck();
} catch (IOException e) {
e.printStackTrace();
}
Last edited by a moderator: