Separate electron-builder config

This commit is contained in:
Yuya Ochiai 2017-03-03 00:16:29 +09:00
parent 0f35b14f9b
commit b72af87bf0
2 changed files with 46 additions and 46 deletions

46
electron-builder.json Normal file
View file

@ -0,0 +1,46 @@
{
"appId": "com.mattermost.desktop",
"directories": {
"buildResources": "resources",
"app": "dist",
"output": "release"
},
"deb": {
"synopsis": "Mattermost"
},
"linux": {
"category": "InstantMessaging",
"target": [
"deb",
"tar.gz"
],
"extraFiles": [
{
"from": "resources",
"filter": "icon.png"
},
{
"from": "resources/linux",
"filter": [
"create_desktop_file.sh",
"README.md"
]
}
]
},
"mac": {
"category": "public.app-category.productivity",
"target": [
"tar.gz"
]
},
"squirrelWindows": {
"iconUrl": "https://raw.githubusercontent.com/mattermost/desktop/master/resources/icon.ico"
},
"win": {
"target": [
"squirrel",
"zip"
]
}
}

View file

@ -61,51 +61,5 @@
"spectron": "~3.6.0",
"webpack": "^2.2.1",
"webpack-merge": "^3.0.0"
},
"build": {
"appId": "com.mattermost.desktop",
"directories": {
"buildResources": "resources",
"app": "dist",
"output": "release"
},
"deb": {
"synopsis": "Mattermost"
},
"linux": {
"category": "InstantMessaging",
"target": [
"deb",
"tar.gz"
],
"extraFiles": [
{
"from": "resources",
"filter": "icon.png"
},
{
"from": "resources/linux",
"filter": [
"create_desktop_file.sh",
"README.md"
]
}
]
},
"mac": {
"category": "public.app-category.productivity",
"target": [
"tar.gz"
]
},
"squirrelWindows": {
"iconUrl": "https://raw.githubusercontent.com/mattermost/desktop/master/resources/icon.ico"
},
"win": {
"target": [
"squirrel",
"zip"
]
}
}
}