From 89e1bbf4eccaacd232cd2025328081a16fda7a56 Mon Sep 17 00:00:00 2001
From: SomberNight <somber.night@protonmail.com>
Date: Mon, 29 Aug 2022 13:46:47 +0000
Subject: [PATCH] mac build: add message to camera permission prompt, in
 Info.plist

based on https://github.com/Electron-Cash/Electron-Cash/commit/0b5b5fb228dbd3be60197b7ccde27ff32d9786ad

Co-authored-by: Calin Culianu <calin.culianu@gmail.com>
---
 contrib/osx/osx.spec | 1 +
 1 file changed, 1 insertion(+)

diff --git a/contrib/osx/osx.spec b/contrib/osx/osx.spec
index e482bfd1f..624da6297 100644
--- a/contrib/osx/osx.spec
+++ b/contrib/osx/osx.spec
@@ -130,5 +130,6 @@ app = BUNDLE(
                 'CFBundleURLSchemes': ['bitcoin', 'lightning', ],
             }],
         'LSMinimumSystemVersion': '10.13.0',
+        'NSCameraUsageDescription': 'Electrum would like to access the camera to scan for QR codes',
     },
 )