feat(client): 迁移Hub更新客户端实现
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include <QString>
|
||||
|
||||
namespace UpdatePathPolicy {
|
||||
|
||||
QString normalizeRelativePath(const QString& path);
|
||||
bool isSafeRelativePath(const QString& path);
|
||||
bool isUpdaterRuntimeProtectedPath(const QString& path, const QString& runtimeRelativePath);
|
||||
bool isIFWInstallerManagedPath(const QString& path);
|
||||
bool isFullUpdateProtectedPath(const QString& path, const QString& runtimeRelativePath);
|
||||
bool isExecutableOrLibrary(const QString& path);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user