use mas and dmg for now

This commit is contained in:
vapormusic 2022-02-12 18:11:47 +07:00
parent a99b0a7613
commit ae301b49e5
2 changed files with 10 additions and 2 deletions

View file

@ -103,5 +103,5 @@ jobs:
# Artifact name
name: macOS
# A file, directory or wildcard pattern that describes what to upload
path: dist/*.pkg
path: dist/
# The desired behavior if no files are found using the provided path.

View file

@ -168,6 +168,14 @@
"isRelocatable": false,
"overwriteAction": "upgrade"
},
"dmg": {
"background": "./resources/bg.png",
"icon": "resources/icons/icon.ico"
},
"mas": {
"entitlements": "./resources/entitlements.mac.plist",
"entitlementsInherit": "./resources/entitlements.mac.plist"
},
"win": {
"target": [
"nsis"
@ -187,7 +195,7 @@
"entitlementsInherit": "./resources/entitlements.mac.plist",
"darkModeSupport": true,
"target": [
"pkg"
"dmg" , "mas"
]
}
}