mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
chore: prepare mac os build
This commit is contained in:
parent
9da97d7fff
commit
09b353e0a7
6 changed files with 79 additions and 51 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -46,3 +46,7 @@ src/app/**/*.js.map
|
|||
build/hub
|
||||
electron/**/*.js
|
||||
electron/**/*.js.map
|
||||
|
||||
# mac os deployment
|
||||
embedded.provisionprofile
|
||||
build/all-certs.p12
|
||||
|
|
|
|||
0
build/electronMac{.original}.js
Normal file
0
build/electronMac{.original}.js
Normal file
10
build/entitlements.mac.plist
Normal file
10
build/entitlements.mac.plist
Normal file
|
|
@ -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.files.user-selected.read-only</key>
|
||||
<true/>
|
||||
<key>com.apple.security.files.user-selected.read-write</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
14
build/entitlements.mas.plist
Normal file
14
build/entitlements.mas.plist
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?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.application-groups</key>
|
||||
<string>XXXXX.your.bundle.id</string>
|
||||
<key>com.apple.security.files.user-selected.read-only</key>
|
||||
<true/>
|
||||
<key>com.apple.security.files.user-selected.read-write</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
51
electron-builder.yaml
Normal file
51
electron-builder.yaml
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
appId: superProductivity
|
||||
files:
|
||||
- electron/**/*
|
||||
- "!electron/**/*.ts"
|
||||
- "!electron/**/*.js.map"
|
||||
- dist/**/*
|
||||
directories:
|
||||
output: "./app-builds"
|
||||
|
||||
win:
|
||||
target:
|
||||
- nsis
|
||||
- portable
|
||||
publish:
|
||||
- github
|
||||
appx:
|
||||
applicationId: SuperProductivity
|
||||
displayName: Super Productivity
|
||||
publisherDisplayName: johannesjo
|
||||
publisher: CN=___-___
|
||||
identityName: ___johannesjo.SuperProductivity
|
||||
linux:
|
||||
category: Utility
|
||||
target:
|
||||
- AppImage
|
||||
- snap
|
||||
- deb
|
||||
publish:
|
||||
- github
|
||||
snap:
|
||||
grade: stable
|
||||
stagePackages:
|
||||
- default
|
||||
-
|
||||
mac:
|
||||
category: public.app-category.productivity
|
||||
entitlements: build/entitlements.mac.plist
|
||||
icon: build/icon.icns
|
||||
publish:
|
||||
- github
|
||||
target:
|
||||
- pkg
|
||||
- dmg
|
||||
- zip
|
||||
- mas
|
||||
|
||||
mas:
|
||||
type: distribution
|
||||
category: public.app-category.productivity
|
||||
entitlements: build/entitlements.mas.plist
|
||||
icon: build/icon.icns
|
||||
51
package.json
51
package.json
|
|
@ -65,57 +65,6 @@
|
|||
"owner": "johannesjo"
|
||||
}
|
||||
],
|
||||
"build": {
|
||||
"appId": "superProductivity",
|
||||
"files": [
|
||||
"electron/**/*",
|
||||
"!electron/**/*.ts",
|
||||
"!electron/**/*.js.map",
|
||||
"dist/**/*"
|
||||
],
|
||||
"directories": {
|
||||
"output": "./app-builds"
|
||||
},
|
||||
"mac": {
|
||||
"category": "productivity",
|
||||
"publish": [
|
||||
"github"
|
||||
]
|
||||
},
|
||||
"win": {
|
||||
"target": [
|
||||
"nsis",
|
||||
"portable"
|
||||
],
|
||||
"publish": [
|
||||
"github"
|
||||
]
|
||||
},
|
||||
"appx": {
|
||||
"applicationId": "SuperProductivity",
|
||||
"displayName": "Super Productivity",
|
||||
"publisherDisplayName": "johannesjo",
|
||||
"publisher": "CN=___-___",
|
||||
"identityName": "___johannesjo.SuperProductivity"
|
||||
},
|
||||
"linux": {
|
||||
"category": "Utility",
|
||||
"target": [
|
||||
"AppImage",
|
||||
"snap",
|
||||
"deb"
|
||||
],
|
||||
"publish": [
|
||||
"github"
|
||||
]
|
||||
},
|
||||
"snap": {
|
||||
"grade": "stable",
|
||||
"stagePackages": [
|
||||
"default"
|
||||
]
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"electron-dl": "^1.13.0",
|
||||
"electron-localshortcut": "^3.1.0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue