+++ /dev/null
-electronVersion: 9.0.0
-compression: normal
-npmRebuild: false
-# TODO: enable this in the future once we sign all the linux builds.
-#forceCodeSigning: true
-directories:
- output: dist
- buildResources: build
- app: .
-
-mac:
- category: Reference
- icon: ./icons/icon.icns
- target:
- - target: dmg
- - target: zip
-
- # steps for notarizing the MacOS builds:
- # https://kilianvalkhof.com/2019/electron/notarizing-your-electron-application/
-
- hardenedRuntime: true
- gatekeeperAssess: false
- entitlements: build/macos/entitlements.mac.plist
- entitlementsInherit: build/macos/entitlements.mac.plist
-
-dmg:
- # The inner app inside the .dmg is signed and there is some broken logic
- # which requires that the DMG itself is not signed.
- sign: false
-
-
-nsis:
- artifactName: ${name}-${version}-${arch}.${ext}
-
-appx:
- artifactName: ${name}-${version}-${arch}.${ext}
- applicationId: polar
- identityName: 25130KevinBurton.PolarBookshelf
- publisher: CN=D3591277-F57D-4C75-B342-D158E6C4AAF5
- publisherDisplayName: Kevin Burton
-
-
-# https://www.electron.build/configuration/publish
-# https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/
-publish:
- provider: github
- publishAutoUpdate: true
-
-asar: true
-afterPack: "./electron-builder-afterpack.js"
-afterSign: "./build/macos/notarize.js"
"scripts": {
"dev": "vue-cli-service electron:serve",
"serve": "vue-cli-service serve",
- "build": "electron-builder --win",
+ "build": "electron-builder --mac",
"test:unit": "vue-cli-service test:unit",
"lint": "vue-cli-service lint",
"electron:build": "vue-cli-service electron:build",
"publish": {
"provider": "generic",
"url": "https://gitlab.com/api/v4/projects/25637892/jobs/artifacts/master/raw/dist?job=build"
- },
- "win": {
- "target": [
- "nsis"
- ],
- "verifyUpdateCodeSignature": false
- },
- "linux": {
- "target": [
- "AppImage"
- ]
}
},
"dependencies": {