Skip to content

add auto updater inside bot#222

Draft
fabio1999ita wants to merge 6 commits intodarkbot-reloaded:masterfrom
fabio1999ita:auto_update
Draft

add auto updater inside bot#222
fabio1999ita wants to merge 6 commits intodarkbot-reloaded:masterfrom
fabio1999ita:auto_update

Conversation

@fabio1999ita
Copy link
Contributor

@fabio1999ita fabio1999ita commented Jan 7, 2023

procedure: check for a new version, when find new one download it and save as DarkBot.jar.tmp then run .tmp bot that auto copy itself to DarkBot.jar, close .tmp bot and run new version of bot with normal file name

@Pablete1234
Copy link
Member

How is this going to interact with anyone who renames their bot, or has multiple of them? ie: DarkBot1.jar, DarkBot2.jar or similar?

@fabio1999ita
Copy link
Contributor Author

How is this going to interact with anyone who renames their bot, or has multiple of them? ie: DarkBot1.jar, DarkBot2.jar or similar?

no matter how you renaming darkbot, new version will be always with standard name, the other files will rest in folder

@Pablete1234 Pablete1234 marked this pull request as draft January 10, 2023 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants