2023-01-12 17:55:55 +00:00
|
|
|
/**
|
|
|
|
|
* @see https://www.electron.build/configuration/configuration
|
|
|
|
|
*/
|
|
|
|
|
{
|
2023-01-13 00:45:14 +00:00
|
|
|
"appId": "com.heynote.app",
|
2023-01-12 17:55:55 +00:00
|
|
|
"asar": true,
|
2026-01-20 20:13:15 +00:00
|
|
|
"asarUnpack": [
|
|
|
|
|
"**/node_modules/@vscode/ripgrep/bin/**"
|
|
|
|
|
],
|
2023-01-13 00:45:14 +00:00
|
|
|
//"icon": "public/favicon.ico",
|
2023-01-12 17:55:55 +00:00
|
|
|
"directories": {
|
2023-01-13 00:45:14 +00:00
|
|
|
"output": "release/${version}",
|
|
|
|
|
"buildResources": "resources"
|
2023-01-12 17:55:55 +00:00
|
|
|
},
|
|
|
|
|
"files": [
|
|
|
|
|
"dist-electron",
|
|
|
|
|
"dist"
|
|
|
|
|
],
|
|
|
|
|
"mac": {
|
2023-01-17 00:24:38 +00:00
|
|
|
"artifactName": "${productName}_${version}_${arch}.${ext}",
|
2023-01-12 17:55:55 +00:00
|
|
|
"target": [
|
2023-01-17 00:24:38 +00:00
|
|
|
{
|
2023-01-13 14:30:21 +00:00
|
|
|
target: 'default',
|
|
|
|
|
arch: [
|
|
|
|
|
'x64',
|
2023-07-08 23:02:45 +00:00
|
|
|
'arm64',
|
|
|
|
|
'universal'
|
2023-01-13 14:30:21 +00:00
|
|
|
]
|
2023-01-17 00:24:38 +00:00
|
|
|
}
|
|
|
|
|
],
|
2023-03-05 12:27:47 +00:00
|
|
|
"publish": ["github"],
|
|
|
|
|
"category": "public.app-category.productivity",
|
2026-01-21 18:46:23 +00:00
|
|
|
"singleArchFiles": "**/node_modules/@vscode/ripgrep/bin/**",
|
|
|
|
|
"x64ArchFiles": "**/node_modules/@vscode/ripgrep/bin/rg",
|
2023-01-12 17:55:55 +00:00
|
|
|
},
|
|
|
|
|
"win": {
|
|
|
|
|
"target": [
|
|
|
|
|
{
|
|
|
|
|
"target": "nsis",
|
|
|
|
|
"arch": [
|
|
|
|
|
"x64"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
],
|
2023-01-15 12:01:41 +00:00
|
|
|
"artifactName": "${productName}_${version}.${ext}",
|
2024-01-05 00:16:34 +00:00
|
|
|
"icon": "public/icon.ico"
|
2023-01-12 17:55:55 +00:00
|
|
|
},
|
|
|
|
|
"nsis": {
|
|
|
|
|
"oneClick": false,
|
|
|
|
|
"perMachine": false,
|
|
|
|
|
"allowToChangeInstallationDirectory": true,
|
2023-01-16 15:07:11 +00:00
|
|
|
"deleteAppDataOnUninstall": false
|
2023-12-21 18:18:04 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
|
|
linux: {
|
|
|
|
|
synopsis: "A dedicated scratchpad for developers",
|
|
|
|
|
category: "Utility",
|
|
|
|
|
},
|
|
|
|
|
appImage: {
|
|
|
|
|
artifactName: "${productName}_${version}_${arch}.${ext}",
|
|
|
|
|
},
|
|
|
|
|
snap: {
|
|
|
|
|
artifactName: "${productName}_${version}_${arch}.${ext}",
|
|
|
|
|
publish: ["github"],
|
2023-01-12 17:55:55 +00:00
|
|
|
}
|
|
|
|
|
}
|