1 Star 0 Fork 344

gq_self / RuoYi-MT

forked from Ricky / RuoYi-MT 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
run.py 664 Bytes
一键复制 编辑 原始数据 按行查看 历史
Ricky 提交于 2023-04-25 10:41 . 优化版本升级模块
# -*- coding: utf-8 -*-
# @Time : 2021/05/18
# @Author : ricky
# @File : run.py
# @Software: vscode
"""
启动类
"""
import wx
from ui import main
from spider import upgradespider
from loguru import logger
from utils import path
if __name__ == '__main__':
"""
程序入口
"""
logger.add(path.resource_path('out.log'))
app = wx.App(False)
frame = main.Main(None)
frame.Show(True)
try:
# 检测更新
t = upgradespider.UpgradeThread(frame, False)
t.start()
app.MainLoop()
except Exception as err:
logger.error('程序发生异常: {}', err)
raise
Python
1
https://gitee.com/gq_self/RuoYi-MT.git
git@gitee.com:gq_self/RuoYi-MT.git
gq_self
RuoYi-MT
RuoYi-MT
master

搜索帮助