🍞 修复问题

This commit is contained in:
hunlongyu
2020-04-28 11:38:24 +08:00
parent c936e8479a
commit d22d52a317
2 changed files with 9 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ protocol.registerSchemesAsPrivileged([{ scheme: 'app', privileges: { secure: tru
function createWindow () {
win = new BrowserWindow({
width: 1680,
width: 1080,
height: 720,
frame: false,
resizable: true,

View File

@@ -5,7 +5,14 @@ module.exports = {
},
pluginOptions: {
electronBuilder: {
nodeIntegration: true
nodeIntegration: true,
builderOptions: {
nsis: {
oneClick: false,
allowToChangeInstallationDirectory: true
},
productName: 'ZY Player'
}
}
}
}