From ae301b49e5d97e731230cf8cff96efaecbaac069 Mon Sep 17 00:00:00 2001 From: vapormusic Date: Sat, 12 Feb 2022 18:11:47 +0700 Subject: [PATCH] use mas and dmg for now --- .github/workflows/build-macos.yml | 2 +- package.json | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) 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" ] } }