update version

This commit is contained in:
shuaikangzhou 2024-02-03 15:40:09 +08:00
parent b793a4424a
commit 1fa8241aba
5 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
version = '1.1.0'
version = '1.0.8'
contact = '701805520'
github = 'https://github.com/LC044/WeChatMsg'
website = 'https://memotrace.lc044.love/'

View File

@ -346,7 +346,7 @@ class MainWinController(QMainWindow, mainwindow.Ui_MainWindow, QCursorGif):
img_bytes = misc_db.get_avatar_buffer(wxid)
except:
logger.error(f'数据库错误:\n{traceback.format_exc()}')
QMessageBox.critical(self, "数据库错误", "请重启微信后重试")
QMessageBox.critical(self, "数据库错误", "请重启电脑后重试")
close_db()
import shutil
try:
@ -369,6 +369,7 @@ class MainWinController(QMainWindow, mainwindow.Ui_MainWindow, QCursorGif):
shutil.rmtree('./app/Database/Msg')
except:
pass
QMessageBox.critical(self, "数据库错误", "请重启电脑后重试")
return
me = Me()
me.set_avatar(img_bytes)