This commit is contained in:
zhigang.li 2017-11-22 19:42:05 +08:00
parent 29c494e1ea
commit e523626260
2 changed files with 5 additions and 5 deletions

View File

@ -9,11 +9,11 @@ let winAbout = null;
const createWindow = () => {
win = new BrowserWindow({
width: 1000,
height: 700,
// width: 1000,
// height: 700,
title: 'iView',
center: true,
resizable: false,
// center: true,
// resizable: false,
icon: logo,
titleBarStyle: 'hidden'
});

View File

@ -4,7 +4,7 @@
"description": "a management bases on iview",
"main": "index.js",
"scripts": {
"build": "npm run build",
"build": "webpack --progress --hide-modules --config build/webpack.prod.config.js",
"start": "electron ./main.js",
"build:linux32": "electron-packager ./ iview-admin --platform=linux --arch=ia32 ~/Desktop/iview-admin --electronVersion=1.4.15 --overwrite --icon=./td_icon.ico",
"build:linux64": "electron-packager ./ iview-admin --platform=linux --arch=x64 ~/Desktop/iview-admin --electronVersion=1.4.15 --overwrite --icon=./td_icon.ico",