-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Update the bot when starting the server #3927
Conversation
Improved documentation (#3921)
@nivong do you wan to put |
ah yea forgot about that, will it also be usefull to put in |
That's never a good idea, if you want to update your project automatically you could use a cron job on your own set up |
no it's not a good idea if dev is broken. close it and find a better way. |
If the user installed the Master version, it will update it, right? even if dev is broken, the idea is for the users to run the Master version? |
If I want to update, I prefer to do it myself, because sometime there is some modification that I don't want to update. And the role of It's a bad idea to put theses lines in this script |
Do you really want to notice the user that they have an update? In setup.sh I force all user to use dev branch which is a mistake. It should be fixed by creating another function to re sync to master. |
And what about config.json modifications ? |
Why shouldnt the average user be automatically updated? Cant we make it so that if you are using the Master branch you get the update and if you are in the dev branch you dont and need to do it manually? |
@danielsdian sounds good to me. I think on dev its alwyas better to update manualy |
+1 @danielsdian |
Not a good idea, imho. What if I find a good commit and want to stick with it no matter what? |
Maybe change it that it only updates the master branche and that we add a configuration option to disable it. |
We should make it automatically. Does anyone knows how to check branch is on master or dev? root@simonsmh:~/PokemonGo-Bot# git branch -vv
Is it fit to use? |
git branch -m - would be better I think |
Git branch -vv|grep "* master" https://github.com/simonsmh/PokemonGo-Bot/blob/patch-9/run.sh |
thanks closing this one. Thanks @simonsmh |
Short Description:
I think it's a good idea that people will be forced to always update to the latest github version. Just to get them not banned for example and help the noobs out.