Skip to content

Commit 403ec96

Browse files
committed
Automatic package.json adjustment
1 parent a11f254 commit 403ec96

File tree

1 file changed

+61
-17
lines changed

1 file changed

+61
-17
lines changed

package.json

Lines changed: 61 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"name": "element-desktop",
3-
"productName": "Element",
2+
"name": "schildichat-desktop",
3+
"productName": "SchildiChat",
44
"main": "lib/electron-main.js",
55
"version": "1.11.16",
6-
"description": "A feature-rich client for Matrix.org",
7-
"author": "Element",
6+
"description": "A Matrix Client based on Element with a more traditional instant messaging experience",
7+
"author": "SchildiChat",
88
"repository": {
99
"type": "git",
10-
"url": "https://github.com/vector-im/element-desktop"
10+
"url": "https://github.com/SchildiChat/element-desktop"
1111
},
1212
"license": "Apache-2.0",
1313
"files": [],
@@ -47,7 +47,8 @@
4747
"electron-window-state": "^5.0.3",
4848
"minimist": "^1.2.6",
4949
"png-to-ico": "^2.1.1",
50-
"request": "^2.88.2"
50+
"request": "^2.88.2",
51+
"electron-osx-sign": "^0.5.0"
5152
},
5253
"devDependencies": {
5354
"@aws-sdk/client-s3": "^3.213.0",
@@ -105,7 +106,7 @@
105106
"@types/node": "16.11.38"
106107
},
107108
"build": {
108-
"appId": "im.riot.app",
109+
"appId": "chat.schildi.desktop",
109110
"asarUnpack": "**/*.node",
110111
"files": [
111112
"package.json",
@@ -123,19 +124,29 @@
123124
"webapp.asar"
124125
],
125126
"linux": {
126-
"target": [
127-
"tar.gz",
128-
"deb"
129-
],
130-
"category": "Network;InstantMessaging;Chat",
131-
"maintainer": "[email protected]",
127+
"target": "deb",
128+
"category": "Network;InstantMessaging;Chat;VideoConference",
129+
"maintainer": "[email protected]",
132130
"desktop": {
133-
"StartupWMClass": "element"
131+
"StartupWMClass": "schildichat"
134132
}
135133
},
136134
"mac": {
137135
"category": "public.app-category.social-networking",
138-
"darkModeSupport": true
136+
"darkModeSupport": true,
137+
"extendInfo": {
138+
"NSUserActivityTypes": [
139+
"org.matrix.room"
140+
],
141+
"ITSAppUsesNonExemptEncryption": true
142+
},
143+
"hardenedRuntime": true,
144+
"entitlements": "build/entitlements.mac.plist",
145+
"entitlementsInherit": "build/entitlements.mac.inherit.plist",
146+
"asarUnpack": [
147+
".hak/hakModules/keytar/build/Release/keytar.node",
148+
".hak/hakModules/matrix-seshat/native/index.node"
149+
]
139150
},
140151
"win": {
141152
"target": [
@@ -154,8 +165,40 @@
154165
"schemes": [
155166
"element"
156167
]
168+
},
169+
{
170+
"name": "schildichat",
171+
"schemes": [
172+
"schildichat"
173+
]
157174
}
158-
]
175+
],
176+
"deb": {
177+
"depends": [
178+
"libgtk-3-0",
179+
"libnotify4",
180+
"libnss3",
181+
"libxss1",
182+
"libxtst6",
183+
"xdg-utils",
184+
"libatspi2.0-0",
185+
"libuuid1",
186+
"libsecret-1-0"
187+
],
188+
"packageCategory": "net",
189+
"priority": "extra"
190+
},
191+
"dmg": {
192+
"icon": "build/dmg.icns"
193+
},
194+
"mas": {
195+
"extendInfo": {
196+
"LSMultipleInstancesProhibited": true
197+
},
198+
"entitlements": "build/entitlements.mas.plist",
199+
"provisioningProfile": "build/schildi_dev.provisionprofile",
200+
"hardenedRuntime": false
201+
}
159202
},
160203
"jest": {
161204
"testEnvironment": "node",
@@ -165,5 +208,6 @@
165208
"setupFilesAfterEnv": [
166209
"expect-playwright"
167210
]
168-
}
211+
},
212+
"homepage": "https://schildi.chat/"
169213
}

0 commit comments

Comments
 (0)