diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index ba27889e..0cf7a00e 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -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. diff --git a/package.json b/package.json index 2794e952..e295e528 100644 --- a/package.json +++ b/package.json @@ -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" ] } }