mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
chore: fix mas build
This commit is contained in:
parent
07b35f23f5
commit
735c4cb3c1
3 changed files with 6 additions and 12 deletions
|
|
@ -1,5 +1,5 @@
|
|||
appId: superProductivity
|
||||
afterSign: build/scripts/notarize.js
|
||||
appId: com.super-productivity.app
|
||||
#afterSign: build/scripts/notarize.js
|
||||
files:
|
||||
- electron/**/*
|
||||
- "!electron/**/*.ts"
|
||||
|
|
@ -9,23 +9,15 @@ files:
|
|||
directories:
|
||||
output: "./app-builds"
|
||||
|
||||
mac:
|
||||
mas:
|
||||
appId: com.super-productivity.app
|
||||
category: public.app-category.productivity
|
||||
entitlements: build/entitlements.mac.plist
|
||||
icon: build/icon.icns
|
||||
hardenedRuntime: true
|
||||
gatekeeperAssess: false
|
||||
provisioningProfile: embedded.provisionprofile
|
||||
darkModeSupport: true
|
||||
target:
|
||||
- mas
|
||||
extendInfo:
|
||||
ITSAppUsesNonExemptEncryption: false,
|
||||
CFBundleLocalizations: ['en','cs','da','de','es','et','fi','fr','hr','hu','id','it','ja','nb','nl','pl','pt-BR','pt-PT','ro','ru','sk','sv','tr','uk','vi','zh-Hans','zh-Hant']
|
||||
CFBundleDevelopmentRegion: en
|
||||
|
||||
mas:
|
||||
hardenedRuntime: false
|
||||
entitlements: build/entitlements.mas.plist
|
||||
entitlementsInherit: build/entitlements.mas.inherit.plist
|
||||
|
|
|
|||
|
|
@ -8,5 +8,7 @@
|
|||
<true/>
|
||||
<key>com.apple.security.files.user-selected.read-write</key>
|
||||
<true/>
|
||||
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ appIN.on('second-instance', () => {
|
|||
});
|
||||
|
||||
// make it a single instance by closing other instances but allow for dev mode
|
||||
if (!appIN.requestSingleInstanceLock() && !IS_DEV) {
|
||||
if (!IS_MAC && !appIN.requestSingleInstanceLock() && !IS_DEV) {
|
||||
quitAppNow();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue