Remove unused .node file on win/linux
This commit is contained in:
@@ -377,7 +377,8 @@
|
||||
"@types/websocket@1.0.0": "patches/@types+websocket+1.0.0.patch",
|
||||
"backbone@1.6.0": "patches/backbone+1.6.0.patch",
|
||||
"node-fetch@2.6.7": "patches/node-fetch+2.6.7.patch",
|
||||
"zod@3.23.8": "patches/zod+3.23.8.patch"
|
||||
"zod@3.23.8": "patches/zod+3.23.8.patch",
|
||||
"mac-screen-capture-permissions": "patches/mac-screen-capture-permissions.patch"
|
||||
},
|
||||
"onlyBuiltDependencies": [
|
||||
"@indutny/mac-screen-share",
|
||||
|
40
patches/mac-screen-capture-permissions.patch
Normal file
40
patches/mac-screen-capture-permissions.patch
Normal file
@@ -0,0 +1,40 @@
|
||||
diff --git a/binding.gyp b/binding.gyp
|
||||
index f3030f89e418275f10eeff4cb97269cdb248144d..330e120cab4b2c8873a31135e06136733f052340 100644
|
||||
--- a/binding.gyp
|
||||
+++ b/binding.gyp
|
||||
@@ -1,14 +1,23 @@
|
||||
{
|
||||
- "targets": [
|
||||
- {
|
||||
- "target_name": "screencapturepermissions",
|
||||
- "sources": [
|
||||
- "screen-capture-permissions.m"
|
||||
- ],
|
||||
- "xcode_settings": {
|
||||
- "MACOSX_DEPLOYMENT_TARGET": "10.14",
|
||||
- "OTHER_LDFLAGS": ["-framework CoreGraphics"]
|
||||
- }
|
||||
- }
|
||||
- ]
|
||||
+ "conditions": [
|
||||
+ ["OS=='mac'", {
|
||||
+ "targets": [
|
||||
+ {
|
||||
+ "target_name": "screencapturepermissions",
|
||||
+ "sources": [
|
||||
+ "screen-capture-permissions.m"
|
||||
+ ],
|
||||
+ "xcode_settings": {
|
||||
+ "MACOSX_DEPLOYMENT_TARGET": "10.14",
|
||||
+ "OTHER_LDFLAGS": ["-framework CoreGraphics"]
|
||||
+ }
|
||||
+ }
|
||||
+ ]
|
||||
+ }, {
|
||||
+ "targets": [{
|
||||
+ "target_name": "noop",
|
||||
+ "type": "none",
|
||||
+ }],
|
||||
+ }],
|
||||
+ ],
|
||||
}
|
7
pnpm-lock.yaml
generated
7
pnpm-lock.yaml
generated
@@ -56,6 +56,9 @@ patchedDependencies:
|
||||
growing-file@0.1.3:
|
||||
hash: 98ffa9ef0b45bf0bc8bdc9f747adb92ade55c1f2935eb576197aadb483c215a0
|
||||
path: patches/growing-file+0.1.3.patch
|
||||
mac-screen-capture-permissions:
|
||||
hash: b8dc0573396f72c869190aa36e306030fdb778263076e9ba35bc3099ded2c6cc
|
||||
path: patches/mac-screen-capture-permissions.patch
|
||||
node-fetch@2.6.7:
|
||||
hash: 94385e2da301d6873723275386bb0c70da98cf56487f2431668d8fd79623818d
|
||||
path: patches/node-fetch+2.6.7.patch
|
||||
@@ -252,7 +255,7 @@ importers:
|
||||
version: 11.0.2
|
||||
mac-screen-capture-permissions:
|
||||
specifier: 2.0.0
|
||||
version: 2.0.0
|
||||
version: 2.0.0(patch_hash=b8dc0573396f72c869190aa36e306030fdb778263076e9ba35bc3099ded2c6cc)
|
||||
memoizee:
|
||||
specifier: 0.4.17
|
||||
version: 0.4.17
|
||||
@@ -17556,7 +17559,7 @@ snapshots:
|
||||
|
||||
lz-string@1.5.0: {}
|
||||
|
||||
mac-screen-capture-permissions@2.0.0:
|
||||
mac-screen-capture-permissions@2.0.0(patch_hash=b8dc0573396f72c869190aa36e306030fdb778263076e9ba35bc3099ded2c6cc):
|
||||
dependencies:
|
||||
electron-util: 0.13.1(patch_hash=8c6bd08d524425c72958f8edfc730eeccdbdb424bff9d1d724d6c391c2c03e99)
|
||||
execa: 2.1.0
|
||||
|
Reference in New Issue
Block a user