Browse Source
- disable the autoupdater if running as mas (was not working anyway, just logging an error on every start) - replace check via app.requestSingleInstanceLock() with LSMultipleInstancesProhibited in Info.plist due to https://github.com/electron/electron/issues/15958 - Quit the app also when all windows are closed to conform to macOS Human Interface Guidelines Comments from review: If the application is a single-window app, it might be appropriate to save data and quit the app when the main window is closed. - "asarUnpack": "**/*.node" to also sign the native addons when packaging - add the required mas-specific entitlements which include the app-sandbox key Signed-off-by: Christoph Settgast <csett86@web.de>master


4 changed files with 40 additions and 7 deletions
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
||||
<plist version="1.0"> |
||||
<dict> |
||||
<key>com.apple.security.app-sandbox</key> |
||||
<true/> |
||||
<key>com.apple.security.inherit</key> |
||||
<true/> |
||||
</dict> |
||||
</plist> |
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
||||
<plist version="1.0"> |
||||
<dict> |
||||
<key>com.apple.security.app-sandbox</key> |
||||
<true/> |
||||
<key>com.apple.security.network.client</key> |
||||
<true/> |
||||
<key>com.apple.security.device.camera</key> |
||||
<true/> |
||||
<key>com.apple.security.device.audio-input</key> |
||||
<true/> |
||||
<key>com.apple.security.device.microphone</key> |
||||
<true/> |
||||
</dict> |
||||
</plist> |
Loading…
Reference in new issue