mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-14 12:52:04 +08:00
feat: 进入应用前检测平台并提示
This commit is contained in:
@@ -397,7 +397,7 @@ void MainWindow::initTmpDir()
|
||||
|
||||
// 检查写入权限
|
||||
QFileInfo info("/tmp/spark-store");
|
||||
qDebug() << info.isWritable();
|
||||
|
||||
if (info.isWritable() == false)
|
||||
{
|
||||
QtConcurrent::run([=]
|
||||
|
||||
Reference in New Issue
Block a user