|
14 | 14 | "afterSign": "electron-builder-notarize",
|
15 | 15 | "artifactName": "${productName}-${os}-${arch}.${ext}",
|
16 | 16 | "compression": "normal",
|
| 17 | + "asarUnpack": [ |
| 18 | + "node_modules/keytar", |
| 19 | + "node_modules/sqlite3", |
| 20 | + "node_modules/cpu-features" |
| 21 | + ], |
17 | 22 | "mac": {
|
18 | 23 | "target": [
|
19 | 24 | {
|
20 | 25 | "target": "dmg",
|
21 | 26 | "arch": ["x64", "arm64"]
|
22 |
| - }, { |
| 27 | + }, |
| 28 | + { |
23 | 29 | "target": "zip",
|
24 | 30 | "arch": ["x64", "arm64"]
|
| 31 | + }, |
| 32 | + { |
| 33 | + "target": "mas", |
| 34 | + "arch": ["universal"] |
25 | 35 | }
|
26 | 36 | ],
|
27 | 37 | "type": "distribution",
|
28 | 38 | "hardenedRuntime": true,
|
29 | 39 | "darkModeSupport": true,
|
| 40 | + "bundleVersion": "0.0.57", |
| 41 | + "icon": "resources/icon.icns", |
| 42 | + "artifactName": "${productName}-${os}-${arch}.${ext}", |
30 | 43 | "entitlements": "resources/entitlements.mac.plist",
|
31 | 44 | "entitlementsInherit": "resources/entitlements.mac.plist",
|
32 | 45 | "gatekeeperAssess": false
|
33 | 46 | },
|
| 47 | + "mas": { |
| 48 | + "mergeASARs": false, |
| 49 | + "entitlements": "resources/entitlements.mas.plist", |
| 50 | + "entitlementsInherit": "resources/entitlements.mas.inherit.plist", |
| 51 | + "entitlementsLoginHelper": "resources/entitlements.mas.loginhelper.plist", |
| 52 | + "hardenedRuntime": false, |
| 53 | + "asarUnpack": ["node_modules"], |
| 54 | + "provisioningProfile": "embedded.provisionprofile", |
| 55 | + "binaries": [ |
| 56 | + "Contents/Resources/app-x64.asar.unpacked/node_modules/sqlite3/lib/binding/napi-v6-darwin-unknown-arm64/node_sqlite3.node", |
| 57 | + "Contents/Resources/app-x64.asar.unpacked/node_modules/sqlite3/lib/binding/napi-v6-darwin-unknown-x64/node_sqlite3.node", |
| 58 | + "Contents/Resources/app-arm64.asar.unpacked/node_modules/sqlite3/lib/binding/napi-v6-darwin-unknown-arm64/node_sqlite3.node", |
| 59 | + "Contents/Resources/app-arm64.asar.unpacked/node_modules/sqlite3/lib/binding/napi-v6-darwin-unknown-x64/node_sqlite3.node", |
| 60 | + "Contents/Resources/app-arm64.asar.unpacked/node_modules/keytar/build/Release/keytar.node", |
| 61 | + "Contents/Resources/app-x64.asar.unpacked/node_modules/keytar/build/Release/keytar.node", |
| 62 | + "Contents/Resources/app-arm64.asar.unpacked/node_modules/cpu-features/build/Release/cpufeatures.node", |
| 63 | + "Contents/Resources/app-x64.asar.unpacked/node_modules/cpu-features/build/Release/cpufeatures.node" |
| 64 | + ], |
| 65 | + "artifactName": "${productName}-${os}-${arch}-mas.${ext}" |
| 66 | + }, |
| 67 | + "masDev": { |
| 68 | + "mergeASARs": false, |
| 69 | + "entitlements": "resources/entitlements.mas.plist", |
| 70 | + "entitlementsInherit": "resources/entitlements.mas.inherit.plist", |
| 71 | + "entitlementsLoginHelper": "resources/entitlements.mas.loginhelper.plist", |
| 72 | + "hardenedRuntime": false, |
| 73 | + "asarUnpack": ["node_modules"], |
| 74 | + "provisioningProfile": "dev.provisionprofile", |
| 75 | + "binaries": [ |
| 76 | + "Contents/Resources/app-x64.asar.unpacked/node_modules/sqlite3/lib/binding/napi-v6-darwin-unknown-arm64/node_sqlite3.node", |
| 77 | + "Contents/Resources/app-x64.asar.unpacked/node_modules/sqlite3/lib/binding/napi-v6-darwin-unknown-x64/node_sqlite3.node", |
| 78 | + "Contents/Resources/app-arm64.asar.unpacked/node_modules/sqlite3/lib/binding/napi-v6-darwin-unknown-arm64/node_sqlite3.node", |
| 79 | + "Contents/Resources/app-arm64.asar.unpacked/node_modules/sqlite3/lib/binding/napi-v6-darwin-unknown-x64/node_sqlite3.node", |
| 80 | + "Contents/Resources/app-arm64.asar.unpacked/node_modules/keytar/build/Release/keytar.node", |
| 81 | + "Contents/Resources/app-x64.asar.unpacked/node_modules/keytar/build/Release/keytar.node", |
| 82 | + "Contents/Resources/app-arm64.asar.unpacked/node_modules/cpu-features/build/Release/cpufeatures.node", |
| 83 | + "Contents/Resources/app-x64.asar.unpacked/node_modules/cpu-features/build/Release/cpufeatures.node" |
| 84 | + ], |
| 85 | + "artifactName": "${productName}-${os}-${arch}-masDev.${ext}" |
| 86 | + }, |
34 | 87 | "dmg": {
|
35 | 88 | "contents": [
|
36 | 89 | {
|
|
48 | 101 | "win": {
|
49 | 102 | "target": ["nsis"],
|
50 | 103 | "artifactName": "${productName}-${os}-installer.${ext}",
|
| 104 | + "icon": "resources/icon.ico", |
51 | 105 | "publisherName": [
|
52 | 106 | "Redis Inc.",
|
53 | 107 | "Redis Labs Inc."
|
|
0 commit comments