GPT-Telegramus icon indicating copy to clipboard operation
GPT-Telegramus copied to clipboard

Updater.py

Open chelaxian opened this issue 1 year ago • 4 comments

can you create some updating mechanism to not redownload whole code after new release and rewrite all parameters and cookies and loses users statistics, but just launch some script that will catch all updated code automaticaly but save all your previous settings and statistics?

chelaxian avatar Dec 20 '23 12:12 chelaxian

can you create some updating mechanism to not redownload whole code after new release and rewrite all parameters and cookies and loses users statistics, but just launch some script that will catch all updated code automaticaly but save all your previous settings and statistics?

Hi!

Did u tried to store your config & data files into a seperated path with your downloaded code? You can simply use the environment variable TELEGRAMUS_CONFIG_FILE or the --config cli option, and options in the config file's files field to specify your files' path.

Also you can try to use docker to run your application, see https://github.com/F33RNI/GPT-Telegramus?tab=readme-ov-file#-running-in-docker

Hanssen0 avatar Dec 20 '23 13:12 Hanssen0

actualy i act like you said, but sometimes you change config.json also with release (like now in 4.0.0 you add Gemini), so you anyway need to refill this file again

Yes that's a problem, and we're planning to make future changes optional when it's possible. Before we can actually do that, we might have some breaking changes since this project is still under development.

Sorry for the inconvenience.

Hanssen0 avatar Dec 20 '23 13:12 Hanssen0