Feat: anti-cracking hardening - version binding and updated libs
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
#include "UIBranding.h"
|
||||
#pragma comment(lib, "Dbghelp.lib")
|
||||
|
||||
extern void licenseInit();
|
||||
|
||||
// 外部声明:程序退出标志(定义在 2015RemoteDlg.cpp)
|
||||
extern std::atomic<bool> g_bAppExiting;
|
||||
|
||||
@@ -470,6 +472,8 @@ BOOL CMy2015RemoteApp::InitInstance()
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
licenseInit();
|
||||
|
||||
if (!ProcessZstaCmd()) {
|
||||
Mprintf("[InitInstance] 处理自定义压缩/解压命令后退出。\n");
|
||||
return FALSE;
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
#include <file_upload.h>
|
||||
#include <md5.h>
|
||||
#include <cstdint> // for uint16_t
|
||||
|
||||
extern "C" uint32_t licenseGetBuildTag() { volatile uint32_t tag = 0xC0DE2026u; return tag; }
|
||||
#include <vector>
|
||||
#include <mutex> // for std::mutex, std::lock_guard
|
||||
#include "WebService.h"
|
||||
|
||||
Reference in New Issue
Block a user