vscodium/patches/osx/fix-codesign.patch
2024-07-08 17:17:26 +02:00

29 lines
1.5 KiB
Diff

diff --git a/build/darwin/sign.js b/build/darwin/sign.js
index f5913b7..100b950 100644
--- a/build/darwin/sign.js
+++ b/build/darwin/sign.js
@@ -53,5 +53,7 @@ async function main(buildDir) {
ignore: (filePath) => {
+ const ext = path.extname(filePath);
return filePath.includes(gpuHelperAppName) ||
filePath.includes(rendererHelperAppName) ||
- 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';
}
@@ -83,3 +85,3 @@ async function main(buildDir) {
'-string',
- 'An application in Visual Studio Code wants to use AppleScript.',
+ 'An application in VSCodium wants to use AppleScript.',
`${infoPlistPath}`
@@ -90,3 +92,3 @@ async function main(buildDir) {
'-string',
- 'An application in Visual Studio Code wants to use the Microphone.',
+ 'An application in VSCodium wants to use the Microphone.',
`${infoPlistPath}`
@@ -97,3 +99,3 @@ async function main(buildDir) {
'-string',
- 'An application in Visual Studio Code wants to use the Camera.',
+ 'An application in VSCodium wants to use the Camera.',
`${infoPlistPath}`