Remove committed guest-tools .EXE; drop now-unneeded windows-sign patch

VBMOUSE.EXE is the DOS TSR build artifact (only vbmouse.drv is referenced by OEMSETUP.INF). With no .exe under guest-tools/ the @electron/windows-sign exclude patch is no longer needed. .gitignore now covers all guest-tools/**/*.exe.
This commit is contained in:
Felix Rieseberg
2026-04-12 17:53:11 -07:00
parent a1637b1de1
commit d383958f2b
3 changed files with 2 additions and 16 deletions

3
.gitignore vendored
View File

@@ -15,6 +15,7 @@ trusted-signing-metadata.json
.env
electron-windows-sign.log
.npmrc
guest-tools/agent/W95TOOLS.EXE
guest-tools/**/*.EXE
guest-tools/**/*.exe
/.claude/scheduled_tasks.lock
/.claude/worktrees/

Binary file not shown.

View File

@@ -1,15 +0,0 @@
diff --git a/node_modules/@electron/windows-sign/dist/cjs/files.js b/node_modules/@electron/windows-sign/dist/cjs/files.js
index 59a370e..27f9bbd 100644
--- a/node_modules/@electron/windows-sign/dist/cjs/files.js
+++ b/node_modules/@electron/windows-sign/dist/cjs/files.js
@@ -49,6 +49,10 @@ function getFilesToSign(options, dir) {
}
for (const file of files) {
const fullPath = path_1.default.resolve(dir, file);
+ // windows95 patch: skip 16-bit guest binaries that signtool can't sign
+ if (/[\\/]guest-tools[\\/]/i.test(fullPath)) {
+ continue;
+ }
if (fs_extra_1.default.statSync(fullPath).isDirectory()) {
// If it's a directory, recurse
result.push(...getFilesToSign(options, fullPath));