Feature: localize the preview messages and report the cached hash
Add the preview strings to en_US, zh_TW and de_DE (GBK, no '=' in keys; German uses ASCII transliterations where GBK cannot encode umlauts), and pass the cached entry's SHA-256 back to the open helper so the executable confirmation shows the actual hash on a cache hit. Honour PreviewEnabled=0 by leaving double-click unchanged, and document the preview plus COMMAND_FILE_HASH capability in the client matrix. Co-Authored-By: deepseek-flash
This commit is contained in:
1 parent
4d37d85bac
commit
3683b4ebeb
7 files changed
+72
-10
No files matched your search
@@ -69,7 +69,8 @@ public:
|
||||
PrepareResult Prepare(uint64_t clientID, const std::string& clientKey,
|
||||
const std::string& remotePath, const std::string& basename,
|
||||
uint64_t size, uint64_t mtimeMs, const std::string& sha256,
|
||||
HWND notifyHwnd, std::string& outPath, std::string& error);
|
||||
HWND notifyHwnd, std::string& outPath, std::string& error,
|
||||
std::string* outSha = nullptr);
|
||||
|
||||
// UI 线程:对话框关闭时放弃本窗口的所有预览请求。
|
||||
void CancelForHwnd(HWND hwnd);
|
||||
|
||||
Reference in new issue
Block a user