diff --git a/src/background.js b/src/background.js index 3f70d71..838fde0 100644 --- a/src/background.js +++ b/src/background.js @@ -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, diff --git a/vue.config.js b/vue.config.js index 8e718e8..b32dfbc 100644 --- a/vue.config.js +++ b/vue.config.js @@ -5,7 +5,14 @@ module.exports = { }, pluginOptions: { electronBuilder: { - nodeIntegration: true + nodeIntegration: true, + builderOptions: { + nsis: { + oneClick: false, + allowToChangeInstallationDirectory: true + }, + productName: 'ZY Player' + } } } }