feat(client): improve SDK packaging and registry config

This commit is contained in:
2026-07-14 01:37:06 +00:00
parent cb5819ab7c
commit 94b20bf2bb
38 changed files with 3040 additions and 3960 deletions
+6 -6
View File
@@ -13,11 +13,11 @@ bool FileHelper::copyFileOverwrite(const QString &src, const QString &dst)
{
if (QFile::exists(dst))
{
if (!QFile::remove(dst))
{
qDebug() << "无法删除旧文件:" << dst;
return false;
}
if (!QFile::remove(dst))
{
qDebug() << "Cannot remove old file:" << dst;
return false;
}
}
return QFile::copy(src, dst);
}
@@ -39,4 +39,4 @@ bool FileHelper::killProcess(const QString &exeName)
process.start("taskkill /f /im " + exeName);
process.waitForFinished(1000);
return !isProcessRunning(exeName);
}
}