系统配置文件夹创建后才能创建sane-json配置文件

This commit is contained in:
yangjiaxuan 2023-01-17 17:36:38 +08:00
parent d168573374
commit 9c1b9e9684
1 changed files with 1 additions and 0 deletions

View File

@ -89,6 +89,7 @@ MainWindow::MainWindow(QWidget *parent)
HGChar cfgFilePath[512]; HGChar cfgFilePath[512];
HGBase_GetConfigPath(cfgFilePath, 512); HGBase_GetConfigPath(cfgFilePath, 512);
HGBase_CreateDir(cfgFilePath);
deleteUpgradePkg(QString::fromStdString(getStdString(cfgFilePath))); deleteUpgradePkg(QString::fromStdString(getStdString(cfgFilePath)));
#if defined(OEM_HANWANG) #if defined(OEM_HANWANG)