Skip to content
New issue

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

add auto updater inside bot #222

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

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