diff --git a/app/scanner/mainwindow.cpp b/app/scanner/mainwindow.cpp index 8c3c9fdf..8a85e1dd 100644 --- a/app/scanner/mainwindow.cpp +++ b/app/scanner/mainwindow.cpp @@ -89,6 +89,7 @@ MainWindow::MainWindow(QWidget *parent) HGChar cfgFilePath[512]; HGBase_GetConfigPath(cfgFilePath, 512); + HGBase_CreateDir(cfgFilePath); deleteUpgradePkg(QString::fromStdString(getStdString(cfgFilePath))); #if defined(OEM_HANWANG)