mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-09-24 15:49:09 +00:00
fix: harden app lock system unlock flow
This commit is contained in:
@@ -72,7 +72,10 @@ function beforePackCursorSdk(context = {}) {
|
||||
ensureCursor({ projectDir, platform });
|
||||
const buildHelper = context.buildWindowsHelloHelper || buildWindowsHelloHelper;
|
||||
if (platform === "win32") {
|
||||
buildHelper(projectDir);
|
||||
const result = buildHelper({ projectDir, platform });
|
||||
if (result?.skipped) {
|
||||
throw new Error(`Windows Hello helper was not built: ${result.reason || "unknown"}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user