summarylogtreecommitdiffstats
path: root/fix-build.patch
blob: 013da24bb816699fc770b96fd3c0bfdad69e211e (plain)
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
diff -ura package.orig/electron-builder.json package.new/electron-builder.json
--- package.orig/electron-builder.json	2019-10-11 21:15:47.916614387 +0200
+++ package.new/electron-builder.json	2019-10-11 21:25:14.248408458 +0200
@@ -78,12 +78,10 @@
 		],
 		"artifactName": "rocketchat-${version}-${arch}.${ext}"
 	},
+	"electronDist": "/usr/lib/electron",
 	"linux": {
 		"target": [
-			"tar.gz",
-			"deb",
-			"rpm",
-			"snap"
+			"dir"
 		],
 		"executableName": "rocketchat-desktop",
 		"category": "GNOME;GTK;Network;InstantMessaging",
diff -ura package.orig/gulpfile.js package.new/gulpfile.js
--- package.orig/gulpfile.js	2019-10-11 21:15:47.917614395 +0200
+++ package.new/gulpfile.js	2019-10-11 21:31:05.716040749 +0200
@@ -65,6 +65,20 @@
 	c: { productName: 'rocketchat' },
 }));
 
+task('release:linux-x64', () => build({
+	publish: 'never',
+	x64: true,
+	linux: [],
+	c: { productName: 'rocketchat' },
+}));
+
+task('release:linux-ia32', () => build({
+	publish: 'never',
+	ia32: true,
+	linux: [],
+	c: { productName: 'rocketchat' },
+}));
+
 task('release:win32', () => build({
 	publish: NODE_ENV === 'production' ? 'onTagOrDraft' : 'never',
 	x64: true,