mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-02-04 02:43:50 +08:00
45 lines
969 B
JavaScript
45 lines
969 B
JavaScript
module.exports = {
|
|
pages: {
|
|
index: 'src/main.js'
|
|
},
|
|
pluginOptions: {
|
|
electronBuilder: {
|
|
nodeIntegration: true,
|
|
builderOptions: {
|
|
nsis: {
|
|
oneClick: false,
|
|
allowToChangeInstallationDirectory: true
|
|
},
|
|
appId: 'com.hunlongyu.zy',
|
|
copyright: 'Copyright @ 2020 Hunlongyu',
|
|
productName: 'ZY Player',
|
|
publish: [
|
|
{
|
|
provider: 'github',
|
|
owner: 'Hunlongyu',
|
|
repo: 'ZY-Player'
|
|
}
|
|
],
|
|
mac: {
|
|
icon: 'build/icon/icon.icns',
|
|
category: 'public.app-category.developer-tools',
|
|
target: 'default',
|
|
extendInfo: {
|
|
LSUIElement: 1
|
|
}
|
|
},
|
|
win: {
|
|
icon: 'build/icons/icon.ico',
|
|
target: 'nsis'
|
|
},
|
|
linux: {
|
|
icon: 'build/icons/'
|
|
},
|
|
snap: {
|
|
publish: ['github']
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|