[Update] Model : Update処理をthreads処理に変更

- fncにプログレスの数値情報を設定できるように追加
- スプラッシュUIから処理が抜けるのでUIの修正が必要
This commit is contained in:
misyaguziya
2024-04-13 18:08:14 +09:00
parent 0a80ba4e0d
commit ce0ca2844b
2 changed files with 44 additions and 28 deletions

View File

@@ -8,9 +8,9 @@ from utils import getKeyByValue, isUniqueStrings, strPctToInt
import argparse
# Common
def callbackUpdateSoftware():
def callbackUpdateSoftware(fnc=None):
setMainWindowGeometry()
model.updateSoftware()
model.updateSoftware(restart=True, fnc=fnc)
def callbackRestartSoftware():
setMainWindowGeometry()