|
Universal Launcher
No frills, no news, no links. Just a client downloader.
Let's be honest, who stops to read your server's news on the launcher page anyway.
Stop having "launcher gfx" made and just use a simple client updater that works.
Universal Launcher does not require some silly text document with a meaningless version
number inside to be modified. Simply upload your new client, and that's it! The launcher
will check the last modified date and download the client if it's newer than the one currently obtained.
This launcher is meant to provide a simple and non-intrusive means of serving jars to clients that are frequently updated so that the client does not need to repeatedly download new files. The configuration is simple and located in `Config.java` for ease of use.
Configuration
Configuring Universal Launcher is simple. Just open the configuration file and modify the necessary fields.
Distribution
A Gradle task has been created to jar the necessary files for distribution.
The `fatJar` task will create a jar for you to distribute with all necessary dependencies.
Credits
ReverendDread is the original creator of this launcher, it was created for our previous project, Kronos.
It was bundled and simplified by myself and is covered under the GNU GPL V3 License
Download
The source code is available on GitHub.
https://github.com/Patrity/Universal-Launcher
Nice, thanks for the release!
Thanks for your contributions to RSPS it will forever be remembered.
Nice. I agree a simple launcher does the work just fine.
→ Cheap Animated Banners ←
Don't listen to these trolls. Let them live under the bridge. Great release Pat. Cheers!
Thanks for this.
https://github.com/Patrity/Universal...Main.java#L119
why are u trying to make this async at all when u immediately block and call future.get?
this offers no security what so ever, this will download and execute anything i want it to assuming i have gained control of wherever your assets are hosted
why are we still using URLConnection & legacy file apis?
https://github.com/Patrity/Universal...Main.java#L119
this is not a one-size-fits-all solution, this only works if the user has java installed and their java environment is properly set which is not the case in an overwhelming number of players situation. you will have many more issues trying to get people to play if this is your only method available
also.. assuming this is made for the user who doesn't really wanna edit any source code, your configuration shouldn't be in source code..
I would hope people are using best practices when hosting any file. If a malicious person gained control of any service, it would be detrimental.
Offer an alternative. Your comment is meaningless.
That's correct. A better alternative is to package Java with the launcher however, this is not the purpose of this release.
There's not a single client or launcher release on this forum that offers that solution. Not that this is the correct way, but this is the norm. Only a few servers in the entire scene are bundling java with their client at all.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |