Fetch the repository succeeded.
/**
* @type {import('electron-builder').Configuration}
* @see https://www.electron.build/configuration/configuration
*/
const config = {
productName: 'NE',
appId: 'com.electron.ne',
copyright: 'sitdown.liu',
directories: {
output: 'output',
},
// publish: [
// {
// provider: 'github',
// url: 'https://github.com/wallace5303/electron-egg',
// },
// ],
npmRebuild: false,
buildDependenciesFromSource: true,
electronDownload: {
mirror: 'https://npm.taobao.org/mirrors/electron/',
},
asar: true,
files: ['dist/**/*'],
extraResources: {
from: './build/extraResources/',
to: 'extraResources',
},
nsis: {
shortcutName: 'NE',
oneClick: false,
allowElevation: true,
allowToChangeInstallationDirectory: true,
createDesktopShortcut: true,
createStartMenuShortcut: true,
installerIcon: './build/icons/icon.ico',
uninstallerIcon: './build/icons/icon.ico',
installerHeaderIcon: './build/icons/icon.ico',
},
win: {
icon: './build/icons/icon.png',
artifactName: '${productName}-${os}-${version}-${arch}.${ext}',
target: [
{
target: 'nsis',
// arch: 'ia32',
arch: 'x64',
// arch: ['x64', 'ia32'], // 32 bit + 64 bit
},
],
},
};
module.exports = config;
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。