-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.js
More file actions
29 lines (23 loc) · 687 Bytes
/
config.js
File metadata and controls
29 lines (23 loc) · 687 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
'use strict'
const path = require('path')
let config = {
// Name of electron app
// Will be used in production builds
name: 'RadioSpring',
// webpack-dev-server port
port: 9080,
// electron-packager options
// Docs: https://simulatedgreg.gitbooks.io/electron-vue/content/docs/building_your_app.html
building: {
arch: 'x64',
asar: true,
dir: path.join(__dirname, 'app'),
icon: path.join(__dirname, 'app/icons/icon'),
ignore: /\b(node_modules|src|index\.ejs|icons)\b/,
out: path.join(__dirname, 'builds'),
overwrite: true,
platform: process.env.PLATFORM_TARGET || 'all'
}
}
config.building.name = config.name
module.exports = config