MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / removeSignatureIfNeeded

Function removeSignatureIfNeeded

apps/kimi-code/scripts/native/03-inject.mjs:36–44  ·  view source on GitHub ↗
(target)

Source from the content-addressed store, hash-verified

34}
35
36async function removeSignatureIfNeeded(target) {
37 const out = nativeBinPath(target);
38 if (process.platform === 'darwin') {
39 await tryRun('codesign', ['--remove-signature', out]);
40 }
41 if (process.platform === 'win32') {
42 await tryRun('signtool', ['remove', '/s', out]);
43 }
44}
45
46async function injectSeaBlob(target) {
47 const out = nativeBinPath(target);

Callers 1

runInjectStepFunction · 0.85

Calls 2

nativeBinPathFunction · 0.90
tryRunFunction · 0.90

Tested by

no test coverage detected