fix-darwin-codesign.patch 1.5 KB

12345678910111213141516171819202122232425262728
  1. diff --git a/build/darwin/sign.js b/build/darwin/sign.js
  2. index f5913b7..100b950 100644
  3. --- a/build/darwin/sign.js
  4. +++ b/build/darwin/sign.js
  5. @@ -53,5 +53,7 @@ async function main(buildDir) {
  6. ignore: (filePath) => {
  7. + const ext = path.extname(filePath);
  8. return filePath.includes(gpuHelperAppName) ||
  9. filePath.includes(rendererHelperAppName) ||
  10. - filePath.includes(pluginHelperAppName);
  11. + filePath.includes(pluginHelperAppName) ||
  12. + 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';
  13. }
  14. @@ -83,3 +85,3 @@ async function main(buildDir) {
  15. '-string',
  16. - 'An application in Visual Studio Code wants to use AppleScript.',
  17. + 'An application in VSCodium wants to use AppleScript.',
  18. `${infoPlistPath}`
  19. @@ -90,3 +92,3 @@ async function main(buildDir) {
  20. '-string',
  21. - 'An application in Visual Studio Code wants to use the Microphone.',
  22. + 'An application in VSCodium wants to use the Microphone.',
  23. `${infoPlistPath}`
  24. @@ -97,3 +99,3 @@ async function main(buildDir) {
  25. '-string',
  26. - 'An application in Visual Studio Code wants to use the Camera.',
  27. + 'An application in VSCodium wants to use the Camera.',
  28. `${infoPlistPath}`