feat: 进入应用前检测平台并提示

This commit is contained in:
2023-03-12 22:00:49 +08:00
parent 6bd05655d6
commit e8f13693be
3 changed files with 50 additions and 1 deletions

View File

@@ -397,7 +397,7 @@ void MainWindow::initTmpDir()
// 检查写入权限
QFileInfo info("/tmp/spark-store");
qDebug() << info.isWritable();
if (info.isWritable() == false)
{
QtConcurrent::run([=]