So i made a little Update script for PhantomBot since i was not aware of the one from PairedPrototype.
Mine is way simpler though.
This is most likely for people who only have one Bot installed. You can change the path in the script though. There is now also a Version check implemented and also the Process will be autokilled if it is started.
If you encounter any problems or issues please give me Feedback.
Normally this should run on any Linux Installation which uses / has the commands
curl, cd, mv, rm, unzip, chmod, wget and cp
available so most likely all known to me.
Please note, this should be considered in an alpha state, likely has bugs and as always, may possibly destroy your bot.
Everyone should have a solid backup process, this script should be made no exception to that general rule.
I take no liability for any damages this may cause. By using the script, you accept full liability for any forthcoming result.
For the Admins/Mods please update the Update Documentation its missing the following line to make Java executable chmod u+x ./java-runtime-linux/bin/java
Just copy the Files over to the directory where your PhantomBot should be located. You might choose a different Location though but you have to configure the settings with the sample.cfg then
If you want to run more then one Bot rename the Sample.cfg and run the script by using ./update.sh yourconfig.cfg