Skip to content

Commit c258cec

Browse files
committed
Automatic package.json adjustment
1 parent 833c193 commit c258cec

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.17",
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
"node-fetch": "^2",
50-
"png-to-ico": "^2.1.1"
50+
"png-to-ico": "^2.1.1",
51+
"electron-osx-sign": "^0.5.0"
5152
},
5253
"devDependencies": {
5354
"@aws-sdk/client-s3": "^3.213.0",
@@ -106,7 +107,7 @@
106107
"@types/node": "16.18.4"
107108
},
108109
"build": {
109-
"appId": "im.riot.app",
110+
"appId": "chat.schildi.desktop",
110111
"asarUnpack": "**/*.node",
111112
"files": [
112113
"package.json",
@@ -124,19 +125,29 @@
124125
"webapp.asar"
125126
],
126127
"linux": {
127-
"target": [
128-
"tar.gz",
129-
"deb"
130-
],
131-
"category": "Network;InstantMessaging;Chat",
132-
"maintainer": "[email protected]",
128+
"target": "deb",
129+
"category": "Network;InstantMessaging;Chat;VideoConference",
130+
"maintainer": "[email protected]",
133131
"desktop": {
134-
"StartupWMClass": "element"
132+
"StartupWMClass": "schildichat"
135133
}
136134
},
137135
"mac": {
138136
"category": "public.app-category.social-networking",
139-
"darkModeSupport": true
137+
"darkModeSupport": true,
138+
"extendInfo": {
139+
"NSUserActivityTypes": [
140+
"org.matrix.room"
141+
],
142+
"ITSAppUsesNonExemptEncryption": true
143+
},
144+
"hardenedRuntime": true,
145+
"entitlements": "build/entitlements.mac.plist",
146+
"entitlementsInherit": "build/entitlements.mac.inherit.plist",
147+
"asarUnpack": [
148+
".hak/hakModules/keytar/build/Release/keytar.node",
149+
".hak/hakModules/matrix-seshat/native/index.node"
150+
]
140151
},
141152
"win": {
142153
"target": [
@@ -155,8 +166,40 @@
155166
"schemes": [
156167
"element"
157168
]
169+
},
170+
{
171+
"name": "schildichat",
172+
"schemes": [
173+
"schildichat"
174+
]
158175
}
159-
]
176+
],
177+
"deb": {
178+
"depends": [
179+
"libgtk-3-0",
180+
"libnotify4",
181+
"libnss3",
182+
"libxss1",
183+
"libxtst6",
184+
"xdg-utils",
185+
"libatspi2.0-0",
186+
"libuuid1",
187+
"libsecret-1-0"
188+
],
189+
"packageCategory": "net",
190+
"priority": "extra"
191+
},
192+
"dmg": {
193+
"icon": "build/dmg.icns"
194+
},
195+
"mas": {
196+
"extendInfo": {
197+
"LSMultipleInstancesProhibited": true
198+
},
199+
"entitlements": "build/entitlements.mas.plist",
200+
"provisioningProfile": "build/schildi_dev.provisionprofile",
201+
"hardenedRuntime": false
202+
}
160203
},
161204
"jest": {
162205
"testEnvironment": "node",
@@ -166,5 +209,6 @@
166209
"setupFilesAfterEnv": [
167210
"expect-playwright"
168211
]
169-
}
212+
},
213+
"homepage": "https://schildi.chat/"
170214
}

0 commit comments

Comments
 (0)