3 Star 5 Fork 0

sitdown.liu/nest-electron-dev

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
electron-builder.config.js 1.28 KB
Copy Edit Raw Blame History
/**
* @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;
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/sitdown-liu/nest-electron-dev.git
git@gitee.com:sitdown-liu/nest-electron-dev.git
sitdown-liu
nest-electron-dev
nest-electron-dev
For-Angular

Search