-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3d0e2fc
commit 1b2fa07
Showing
4 changed files
with
104 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
.DS_Store | ||
.DS_Store? | ||
dist/* | ||
out/* | ||
node_modules/* | ||
third_party/* | ||
package-lock.json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
|
||
/* | ||
const APPLE_API_KEY_ID = process.env.APPLE_API_KEY_ID; | ||
const APPLE_API_KEY_ISSUER_ID = process.env.APPLE_API_KEY_ISSUER_ID; | ||
*/ | ||
|
||
export default { | ||
outDir: 'dist', | ||
packagerConfig: { | ||
icon: "publish/icon", | ||
dir: [ | ||
'source' | ||
], | ||
ignore: [ | ||
"publish", | ||
"third_party", | ||
"test", | ||
"tools" | ||
], | ||
/* | ||
osxNotarize: { | ||
tool: 'notarytool', | ||
appleApiKey: `~/.private_keys/AuthKey_${APPLE_API_KEY_ID}.p8`, | ||
appleApiKeyId: APPLE_API_KEY_ID, | ||
appleApiIssuer: APPLE_API_KEY_ISSUER_ID | ||
}, | ||
*/ | ||
asar: true | ||
}, | ||
/* | ||
makeTargets: { | ||
win32: ['nsis'], | ||
darwin: ['dmg', 'zip'], | ||
linux: ['snap'], | ||
}, | ||
*/ | ||
makers: [ | ||
{ | ||
name: '@electron-forge/maker-zip', | ||
config: { | ||
platforms: [ 'darwin' ], | ||
// name: "${name}-${version}-mac.zip" | ||
} | ||
}, | ||
{ | ||
name: '@electron-forge/maker-dmg', | ||
config: { | ||
background: './publish/background.png', | ||
/* eslint-disable no-template-curly-in-string */ | ||
name: "Netron-${version}" | ||
/* eslint-enable no-template-curly-in-string */ | ||
} | ||
} | ||
], | ||
publishers: [ | ||
{ | ||
"name": "@electron-forge/publisher-github", | ||
"config": {} | ||
}, | ||
{ | ||
"name": "@electron-forge/publisher-snapcraft", | ||
"config": {} | ||
} | ||
] | ||
}; |