Skip to content

Commit

Permalink
fix(ci): still fiddling around with mac
Browse files Browse the repository at this point in the history
  • Loading branch information
gorillamoe committed Nov 29, 2024
1 parent 229bb6f commit 2a62cf3
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 59 deletions.
1 change: 1 addition & 0 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ mac:
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
hardenedRuntime: true
notarize: false
icon: build/icon.icns
target:
- target: dmg
Expand Down
91 changes: 35 additions & 56 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"@electron-toolkit/eslint-config-prettier": "^2.0.0",
"@electron-toolkit/eslint-config-ts": "^2.0.0",
"@electron-toolkit/tsconfig": "^1.0.1",
"@electron/notarize": "2.5.0",
"@fortawesome/fontawesome-free": "6.6.0",
"@sveltejs/adapter-node": "5.2.9",
"@sveltejs/vite-plugin-svelte": "3.1.2",
Expand All @@ -48,7 +49,6 @@
"electron": "^31.0.2",
"electron-builder": "^24.13.3",
"electron-log": "5.2.3",
"electron-notarize": "1.2.2",
"electron-vite": "^2.3.0",
"eslint": "^8.57.0",
"eslint-plugin-svelte": "^2.41.0",
Expand Down
3 changes: 1 addition & 2 deletions scripts/notarize.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require('dotenv').config()
const { notarize } = require('electron-notarize')
const { notarize } = require('@electron/notarize')

exports.default = async function notarizing(context) {
const { electronPlatformName, appOutDir } = context
Expand All @@ -12,7 +12,6 @@ exports.default = async function notarizing(context) {
return await notarize({
tool: 'notarytool',
teamId: process.env.APPLE_TEAM_ID,
appBundleId: 'net.getbananas',
appPath: `${appOutDir}/${appName}.app`,
appleId: process.env.APPLE_ID,
appleIdPassword: process.env.APPLE_APP_SPECIFIC_PASSWORD
Expand Down

0 comments on commit 2a62cf3

Please sign in to comment.