From 9283c0511535c5c07b04801b1d4baf5b19972ff5 Mon Sep 17 00:00:00 2001 From: Andrew Gundersen Date: Tue, 13 Apr 2021 11:19:21 -0500 Subject: [PATCH] cicd --- electron.builder.yml | 51 -------------------------------------------- package.json | 13 +---------- 2 files changed, 1 insertion(+), 63 deletions(-) delete mode 100644 electron.builder.yml diff --git a/electron.builder.yml b/electron.builder.yml deleted file mode 100644 index 2590695..0000000 --- a/electron.builder.yml +++ /dev/null @@ -1,51 +0,0 @@ -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" diff --git a/package.json b/package.json index de60418..f92ddea 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "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", @@ -30,17 +30,6 @@ "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": { -- 2.43.0