You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.1 KiB
44 lines
1.1 KiB
/** |
|
* @see https://www.electron.build/configuration/configuration |
|
*/ |
|
{ |
|
appId: 'com.electron.pear-rec', |
|
productName: '康来录制屏幕动态识别视频图像摄像头软件', |
|
copyright: 'Copyright © 2024 ${author}', |
|
asar: true, |
|
directories: { |
|
output: 'release', |
|
}, |
|
files: ['dist-electron', 'dist', '.env'], |
|
mac: { |
|
icon: 'build/icons/mac/icon.icns', |
|
target: { target: 'dmg' }, |
|
artifactName: '${productName}-Mac-${version}-Installer.${ext}', |
|
}, |
|
linux: { |
|
icon: 'build/icons/png', |
|
target: ['AppImage'], |
|
artifactName: '${productName}-Linux-${version}.${ext}', |
|
}, |
|
win: { |
|
icon: 'build/icons/win/icon.ico', |
|
target: [ |
|
{ |
|
target: 'nsis', |
|
}, |
|
], |
|
artifactName: '${productName}-Windows-${version}-Setup.${ext}', |
|
requestedExecutionLevel: 'requireAdministrator', |
|
}, |
|
nsis: { |
|
oneClick: false, |
|
perMachine: false, |
|
allowToChangeInstallationDirectory: true, |
|
deleteAppDataOnUninstall: false, |
|
}, |
|
publish: { |
|
provider: 'github', |
|
repo: 'pear-rec', |
|
owner: '027xiguapi', |
|
}, |
|
}
|
|
|