Separate electron-builder config
This commit is contained in:
parent
0f35b14f9b
commit
b72af87bf0
46
electron-builder.json
Normal file
46
electron-builder.json
Normal 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"
|
||||
]
|
||||
}
|
||||
}
|
46
package.json
46
package.json
|
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue