forked from negativo17/Signal-Desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Signal-Desktop-fix-build.patch
26 lines (25 loc) · 1.35 KB
/
Signal-Desktop-fix-build.patch
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
diff -Naur Signal-Desktop-1.32.0-beta.2.old/Gruntfile.js Signal-Desktop-1.32.0-beta.2/Gruntfile.js
--- Signal-Desktop-1.32.0-beta.2.old/Gruntfile.js 2020-02-20 15:36:11.384395280 +0100
+++ Signal-Desktop-1.32.0-beta.2/Gruntfile.js 2020-02-20 15:36:57.624073092 +0100
@@ -203,9 +203,7 @@
});
grunt.registerTask('getExpireTime', () => {
- grunt.task.requires('gitinfo');
- const gitinfo = grunt.config.get('gitinfo');
- const committed = gitinfo.local.branch.current.lastCommitTime;
+ const committed = parseInt(process.env.SOURCE_DATE_EPOCH, 10) * 1000;
const time = Date.parse(committed) + 1000 * 60 * 60 * 24 * 90;
grunt.file.write(
'config/local-production.json',
diff -Naur Signal-Desktop-1.32.0-beta.2.old/package.json Signal-Desktop-1.32.0-beta.2/package.json
--- Signal-Desktop-1.32.0-beta.2.old/package.json 2020-02-20 15:36:11.412395691 +0100
+++ Signal-Desktop-1.32.0-beta.2/package.json 2020-02-20 15:36:31.097684252 +0100
@@ -62,7 +62,7 @@
"fs-xattr": "0.3.0"
},
"dependencies": {
- "@journeyapps/sqlcipher": "https://github.com/scottnonnenberg-signal/node-sqlcipher.git#b10f232fac62ba7f8775c9e086bb5558fe7d948b",
+ "@journeyapps/sqlcipher": "https://github.com/scaronni/node-sqlcipher.git#046c20a94ba27d8cf2e3e5d92d7cd2e88186724e",
"@sindresorhus/is": "0.8.0",
"array-move": "2.1.0",
"backbone": "1.3.3",