调整启动更新exe文件名称,调整信息菜单栏界面

This commit is contained in:
yangjiaxuan 2022-07-20 18:38:46 +08:00
parent 66af9554d9
commit 64b074e5c0
2 changed files with 17 additions and 3 deletions

View File

@ -63,7 +63,14 @@ void Dialog_updateProgress::ThreadFunc(HGThread thread, HGPointer param)
QFile file(curPath);
#if defined(HG_CMP_MSC)
file.copy("HGUpgrade.exe", tmpPath);
#if defined(OEM_HANWANG)
file.copy("HWUpgradeApp.exe", tmpPath);
#elif defined(OEM_LISICHENG)
file.copy("LSCUpgradeApp.exe", tmpPath);
#else
file.copy("HGUpgradeApp.exe", tmpPath);
#endif
file.copy("HGBase.dll", tmpPath);
file.copy("HGVersion.dll", tmpPath);
file.copy("msvcp140.dll", tmpPath);
@ -72,7 +79,13 @@ void Dialog_updateProgress::ThreadFunc(HGThread thread, HGPointer param)
file.copy("Qt5Widgets.dll", tmpPath);
file.copy("vcruntime140.dll", tmpPath);
#else
file.copy("HGUpgrade", tmpPath);
#if defined(OEM_HANWANG)
file.copy("HWUpgradeApp", tmpPath);
#elif defined(OEM_LISICHENG)
file.copy("LSCUpgradeApp", tmpPath);
#else
file.copy("HGUpgradeApp", tmpPath);
#endif
file.copy("libHGBase.so", tmpPath);
file.copy("libHGVersion.so", tmpPath);
#endif

View File

@ -154,9 +154,10 @@
</property>
<addaction name="act_help"/>
<addaction name="separator"/>
<addaction name="act_feedback"/>
<addaction name="separator"/>
<addaction name="actionact_update"/>
<addaction name="act_about"/>
<addaction name="act_feedback"/>
</widget>
<widget class="device_menu" name="menu_device">
<property name="title">