mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-18 07:36:00 +01:00
Remove unused .node file on win/linux
This commit is contained in:
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",
|
||||
+ }],
|
||||
+ }],
|
||||
+ ],
|
||||
}
|
||||
Reference in New Issue
Block a user