Browse Source

fix: disable rosetta as Electron does not run under rosetta (#24743)

Co-authored-by: Samuel Attard <[email protected]>
trop[bot] 4 years ago
parent
commit
5a0b619fc0

+ 2 - 0
shell/app/resources/mac/loginhelper-Info.plist

@@ -12,5 +12,7 @@
 	<string>APPL</string>
 	<key>LSBackgroundOnly</key>
 	<true/>
+	<key>LSRequiresNativeExecution</key>
+	<true/>
 </dict>
 </plist>

+ 2 - 0
shell/browser/resources/mac/Info.plist

@@ -38,5 +38,7 @@
     <string>This app needs access to the microphone</string>
     <key>NSCameraUsageDescription</key>
     <string>This app needs access to the camera</string>
+    <key>LSRequiresNativeExecution</key>
+    <true/>
   </dict>
 </plist>

+ 2 - 0
shell/common/resources/mac/Info.plist

@@ -14,5 +14,7 @@
 	<true/>
 	<key>CFBundleVersion</key>
 	<string>${ELECTRON_VERSION}</string>
+	<key>LSRequiresNativeExecution</key>
+	<true/>
 </dict>
 </plist>

+ 2 - 0
shell/renderer/resources/mac/Info.plist

@@ -12,5 +12,7 @@
   <true/>
   <key>NSSupportsAutomaticGraphicsSwitching</key>
   <true/>
+  <key>LSRequiresNativeExecution</key>
+  <true/>
 </dict>
 </plist>