Skip to content

Commit 519f793

Browse files
authored
Merge pull request #77 from adamretter/sign-and-notaize
Sign and notarize the DMG for Mac
2 parents a4899c0 + aa93c2f commit 519f793

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

electron-builder.yml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
productName: Fusion Studio
2-
appId: evolvedbinary.fusionstudio
2+
appId: com.fusiondb.fusionstudio
3+
copyright: Copyright © 2018 Evolved Binary Ltd
34

45
asar: false
56
directories:
@@ -13,12 +14,20 @@ files:
1314
win:
1415
target:
1516
- nsis
17+
18+
afterSign: electron-builder-notarize
19+
1620
mac:
21+
identity: "Evolved Binary Ltd"
22+
hardenedRuntime: true
23+
entitlements: ./node_modules/electron-builder-notarize/entitlements.mac.inherit.plist
1724
target:
1825
- dmg
26+
1927
linux:
2028
target:
2129
- deb
30+
- rpm
2231
- AppImage
2332
category: Development
2433
icon: resources/icons
@@ -36,7 +45,7 @@ nsis:
3645
uninstallerSidebar: resources/installerSidebar.bmp
3746
allowToChangeInstallationDirectory: true
3847
runAfterFinish: false
39-
artifactName: ${productName}-Installer-${version}.${ext}
48+
artifactName: fusion-studio-${version}-installer.${ext}
4049
dmg:
4150
background: resources/dmgInstaller.tiff
4251
icon: resources/icon.icns
@@ -51,6 +60,18 @@ dmg:
5160
x: 122
5261
y: 340
5362
type: file
63+
artifactName: fusion-studio-${version}.${ext}
64+
65+
deb:
66+
packageCategory: database
67+
artifactName: fusion-studio-${version}.${ext}
68+
69+
rpm:
70+
packageCategory: Application/Databases
71+
artifactName: fusion-studio-${version}.${ext}
72+
73+
appImage:
74+
artifactName: fusion-studio-${version}.${ext}
5475

5576
# publish:
5677
# provider: github

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
},
5555
"devDependencies": {
5656
"@theia/cli": "latest",
57-
"electron-builder": "^22.7.0"
57+
"electron-builder": "^22.7.0",
58+
"electron-builder-notarize": "^1.2.0"
5859
}
5960
}

0 commit comments

Comments
 (0)