Skip to content

Commit

Permalink
let electron-forge set default entitlements
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-dm committed Jan 5, 2024
1 parent 685fa4c commit 6fe30c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 37 deletions.
16 changes: 5 additions & 11 deletions forge.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
packagerConfig: {
asar: true,
executableName: 'gabin',
executableName: 'Gabin',
icon: './build/resources/icons/app',
ignore: [
'^/src($|/)',
Expand All @@ -12,13 +12,7 @@ module.exports = {
'^/database.json$',
'^/.*\.log$',
],
osxSign: {
optionsForFile: (filePath) => {
return {
entitlements: './build/resources/entitlements.plist',
}
}
},
osxSign: {},
osxNotarize: {
tool: 'notarytool',
appleId: process.env.APPLE_ID,
Expand All @@ -38,12 +32,12 @@ module.exports = {
},
{
name: '@electron-forge/maker-deb',
executableName: 'gabin',
executableName: 'Gabin',
config: {
options: {
icon: './build/resources/icons/app.png',
name: 'gabin',
productName: 'gabin',
name: 'Gabin',
productName: 'Gabin',
}
},
},
Expand Down
26 changes: 0 additions & 26 deletions src/resources/entitlements.plist

This file was deleted.

0 comments on commit 6fe30c8

Please sign in to comment.