MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / cacheIsReady

Function cacheIsReady

scripts/ensure-win-codesign-cache.js:16–19  ·  view source on GitHub ↗
(cacheRoot)

Source from the content-addressed store, hash-verified

14 'https://github.com/electron-userland/electron-builder-binaries/archive/refs/tags/winCodeSign-2.6.0.zip';
15
16function cacheIsReady(cacheRoot) {
17 if (!fs.existsSync(cacheRoot)) return false;
18 return fs.existsSync(path.join(cacheRoot, 'rcedit-x64.exe'));
19}
20
21function runPowerShell(script) {
22 const result = spawnSync(

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected