fix(sign): update function call [skip ci]

This commit is contained in:
Baptiste Augrain
2025-01-24 19:22:31 +01:00
parent 30a637eb3f
commit 79dfaf1991

View File

@@ -1,28 +1,30 @@
diff --git a/build/darwin/sign.js b/build/darwin/sign.js diff --git a/build/darwin/sign.js b/build/darwin/sign.js
index f5913b7..100b950 100644 index dff30fd..df48bee 100644
--- a/build/darwin/sign.js --- a/build/darwin/sign.js
+++ b/build/darwin/sign.js +++ b/build/darwin/sign.js
@@ -53,5 +53,7 @@ async function main(buildDir) { @@ -56,5 +56,7 @@ async function main(buildDir) {
ignore: (filePath) => { ignore: (filePath) => {
+ const ext = path_1.extname(filePath); + const ext = path_1.default.extname(filePath);
return filePath.includes(gpuHelperAppName) || return filePath.includes(gpuHelperAppName) ||
filePath.includes(rendererHelperAppName) || filePath.includes(rendererHelperAppName) ||
- filePath.includes(pluginHelperAppName); - filePath.includes(pluginHelperAppName);
+ filePath.includes(pluginHelperAppName) || + filePath.includes(pluginHelperAppName) ||
+ ext == '.asar' || ext == '.dat' || ext == '.gif' || ext == '.icns' || ext == '.ico' || ext == '.json' || ext == '.mp3' || ext == '.nib' || ext == '.pak' || ext == '.png' || ext == '.scpt' || ext == '.ttf' || ext == '.wasm' || ext == '.woff' || ext == '.woff2'; + ext == '.asar' || ext == '.dat' || ext == '.gif' || ext == '.icns' || ext == '.ico' || ext == '.json' || ext == '.mp3' || ext == '.nib' || ext == '.pak' || ext == '.png' || ext == '.scpt' || ext == '.ttf' || ext == '.wasm' || ext == '.woff' || ext == '.woff2';
} }
@@ -83,3 +85,3 @@ async function main(buildDir) { diff --git a/build/darwin/sign.ts b/build/darwin/sign.ts
'-string', index ecf1627..a414032 100644
- 'An application in Visual Studio Code wants to use AppleScript.', --- a/build/darwin/sign.ts
+ 'An application in VSCodium wants to use AppleScript.', +++ b/build/darwin/sign.ts
`${infoPlistPath}` @@ -60,6 +60,9 @@ async function main(buildDir?: string): Promise<void> {
@@ -90,3 +92,3 @@ async function main(buildDir) { ignore: (filePath: string) => {
'-string', - return filePath.includes(gpuHelperAppName) ||
- 'An application in Visual Studio Code wants to use the Microphone.', - filePath.includes(rendererHelperAppName) ||
+ 'An application in VSCodium wants to use the Microphone.', - filePath.includes(pluginHelperAppName);
`${infoPlistPath}` + const ext = path.extname(filePath);
@@ -97,3 +99,3 @@ async function main(buildDir) { + return filePath.includes(gpuHelperAppName) ||
'-string', + filePath.includes(rendererHelperAppName) ||
- 'An application in Visual Studio Code wants to use the Camera.', + filePath.includes(pluginHelperAppName) ||
+ 'An application in VSCodium wants to use the Camera.', + ext == '.asar' || ext == '.dat' || ext == '.gif' || ext == '.icns' || ext == '.ico' || ext == '.json' || ext == '.mp3' || ext == '.nib' || ext == '.pak' || ext == '.png' || ext == '.scpt' || ext == '.ttf' || ext == '.wasm' || ext == '.woff' || ext == '.woff2';
`${infoPlistPath}` }
+
};