From ddca1ce594bab13b07a910dc5eb50bfdef62e26d Mon Sep 17 00:00:00 2001 From: Ashton Eby Date: Fri, 25 Oct 2024 12:44:00 -0700 Subject: [PATCH] double never trust a linter --- sea/build-sea.cjs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sea/build-sea.cjs b/sea/build-sea.cjs index 50e10db6..974e185f 100644 --- a/sea/build-sea.cjs +++ b/sea/build-sea.cjs @@ -43,8 +43,7 @@ function buildSEAForMac() { function buildSEAForWindows() { run("node --experimental-sea-config .\\sea\\sea-config.json"); fs.copyFileSync(process.execPath, ".\\dist\\fauna.exe"); - // eslint-disable-next-line no-useless-escape - const signtool = "C:\\Program\ Files\ (x86)\\Microsoft SDKs\\ClickOnce\\SignTool\\signtool.exe"; + const signtool = "C:\"\\Program Files (x86)\"\\Microsoft SDKs\\ClickOnce\\SignTool\\signtool.exe"; run(`${signtool} remove /s .\\dist\\fauna.exe`); run( "npx postject hello.exe NODE_SEA_BLOB sea-prep.blob ^ \