| | |
| | | "scripts": { |
| | | "start": "electron .", |
| | | "electron:build": "electron-builder --win --ia32", |
| | | "electron:build-linux": "electron-builder --linux", |
| | | "electron:serve": "electron:serve --mode development", |
| | | "electron:generate-icons": "electron-icon-builder --input=./icon.png --output=build --flatten", |
| | | "test": "echo \"Error: no test specified\" && exit 1" |
| | |
| | | "asar": true, |
| | | "files": [ |
| | | "!dependent/**", |
| | | "!dependent_linux/**", |
| | | "getConfig.js", |
| | | "config.json", |
| | | "main.js", |
| | |
| | | "shortcutName": "electronFg" |
| | | }, |
| | | "linux": { |
| | | "icon": "build/icons" |
| | | "icon": "./build/icons", |
| | | "artifactName": "${productName}-${version}-linux.${ext}", |
| | | "target": ["dir", "tar.gz"] |
| | | }, |
| | | "extraResources": [ |
| | | { |
| | | "from": "./dependent", |
| | | "from": "./dependent_linux/", |
| | | "to": "../" |
| | | }, |
| | | { |
| | | "from": "./dependent/elevate.exe", |
| | | "to": "../resources/elevate.exe" |
| | | "from": "./build/", |
| | | "to": "build" |
| | | } |
| | | ] |
| | | }, |
| | | "author": "", |
| | | "author": "whychw, Inc <858544502@qq.com>", |
| | | "license": "ISC", |
| | | "devDependencies": { |
| | | "electron": "^34.1.1", |