Merge pull request #2390 from Trial97/delete_tmp
Delete instaces tmp diectory on startup
This commit is contained in:
commit
3af4c94612
@ -1206,6 +1206,12 @@ void Application::performMainStartupAction()
|
||||
qDebug() << "<> Updater started.";
|
||||
}
|
||||
|
||||
{ // delete instances tmp dirctory
|
||||
auto instDir = m_settings->get("InstanceDir").toString();
|
||||
const QString tempRoot = FS::PathCombine(instDir, ".tmp");
|
||||
FS::deletePath(tempRoot);
|
||||
}
|
||||
|
||||
if (!m_urlsToImport.isEmpty()) {
|
||||
qDebug() << "<> Importing from url:" << m_urlsToImport;
|
||||
m_mainWindow->processURLs(m_urlsToImport);
|
||||
|
Loading…
Reference in New Issue
Block a user