File size: 1,717 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
	"productName": "WordPress.com",
	"appId": "com.automattic.wordpress",
	"asar": false,
	"directories": {
		"buildResources": "./resource",
		"output": "./release"
	},
	"publish": [
		{
			"provider": "github",
			"owner": "Automattic",
			"repo": "wp-desktop"
		}
	],
	"files": [ "dist", "package.json", "config/*.json" ],
	"mac": {
		"category": "public.app-category.social-networking",
		"entitlements": "./resource/macos/entitlements.mac.plist",
		"entitlementsInherit": "./resource/macos/entitlements.mac.inherit.plist",
		"hardenedRuntime": true,
		"artifactName": "wordpress.com-macOS-app-${version}-${arch}.${ext}",
		"target": [ "zip", "dmg" ]
	},
	"dmg": {
		"title": "WordPress.com Installer",
		"iconSize": 150,
		"contents": [
			{
				"x": 486,
				"y": 176,
				"type": "link",
				"path": "/Applications"
			},
			{
				"x": 156,
				"y": 179,
				"type": "file"
			}
		],
		"artifactName": "wordpress.com-macOS-dmg-${version}-${arch}.${ext}"
	},
	"win": {
		"icon": "./resource/icon.ico",
		"target": [
			{
				"target": "nsis",
				"arch": [ "x64", "ia32" ]
			}
		]
	},
	"nsis": {
		"oneClick": false,
		"artifactName": "wordpress.com-win32-setup-${version}.${ext}"
	},
	"linux": {
		"target": [ "deb", "tar.gz" ],
		"executableName": "wpcom",
		"description": "WordPress.com",
		"synopsis": "WordPress.com Desktop Client",
		"category": "Social",
		"desktop": {
			"StartupNotify": true
		},
		"artifactName": "wordpress.com-linux-x64-${version}.${ext}"
	},
	"deb": {
		"fpm": [ "--name=wordpress.com" ],
		"depends": [ "gconf2", "gconf-service", "libnotify4", "libxtst6", "libnss3" ],
		"artifactName": "wordpress.com-linux-deb-${version}.${ext}"
	},
	"afterSign": "./bin/after_sign_hook.js"
}