mirror of
https://github.com/felixrieseberg/windows95.git
synced 2026-05-09 00:24:09 +00:00
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:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -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.
@@ -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));
|
||||
Reference in New Issue
Block a user