修改部分ui

This commit is contained in:
SiYuan 2024-02-14 19:07:44 +08:00
parent 210bba39de
commit eefd406fee
3 changed files with 11 additions and 5 deletions

View File

@ -24,6 +24,8 @@ from win32api import GetFileVersionInfo, HIWORD, LOWORD
"""
class Wechat来源https://github.com/SnowMeteors/GetWeChatKey
"""
class Wechat:
def __init__(self, pm):
module = pymem.process.module_from_name(pm.process_handle, "WeChatWin.dll")
@ -150,6 +152,7 @@ class Wechat:
return version
# 获取exe文件的位数
def get_exe_bit(file_path):
"""
@ -403,7 +406,7 @@ def read_info(version_list, is_logging=False):
tmp_rd['filePath'] = get_info_filePath(tmp_rd['wxid']) if tmp_rd['wxid'] != "None" else "None"
tmp_rd['key'] = "None"
tmp_rd['key'] = get_key(tmp_rd['filePath'], addrLen)
if tmp_rd['key']=='None':
if tmp_rd['key'] == 'None':
wechat = Pymem("WeChat.exe")
key = Wechat(wechat).GetInfo()
if key:

View File

@ -21,7 +21,7 @@ class ExceptionHanding:
self.exc_value):
return '数据库错误请删除app文件夹后重启电脑再运行软件'
else:
return '未知错误类型,可参考 https://blog.lc044.love/post/7 解决该问题'
return '未知错误类型,可参考 https://blog.lc044.love/post/7 解决该问题\n温馨提示重启电脑可解决80%的问题'
def __str__(self):
errmsg = f'{self.error_message}\n{self.parser_exc()}'

View File

@ -11,7 +11,7 @@ import json
import os.path
import traceback
from PyQt5.QtCore import pyqtSignal, QThread, QSize, QUrl
from PyQt5.QtCore import pyqtSignal, QThread, QSize, QUrl, Qt
from PyQt5.QtGui import QPixmap, QIcon, QDesktopServices
from PyQt5.QtWidgets import QMainWindow, QLabel, QMessageBox
@ -282,7 +282,11 @@ class MainWinController(QMainWindow, mainwindow.Ui_MainWindow, QCursorGif):
self.setStyleSheet(Stylesheet)
self.listWidget.clear()
self.resize(QSize(800, 600))
self.info = QLabel(self)
self.info.setText('Tips ')
self.info.setAlignment(Qt.AlignRight)
self.statusbar.addPermanentWidget(self.info)
self.statusbar.showMessage('遇到问题可添加QQ群咨询', 5000)
self.load_flag = False
self.load_data()
self.load_num = 0
@ -316,7 +320,6 @@ class MainWinController(QMainWindow, mainwindow.Ui_MainWindow, QCursorGif):
pass
def init_ui(self):
# 设置忙碌光标图片数组
self.initCursor([':/icons/icons/Cursors/%d.png' %
i for i in range(8)])