diff options
Diffstat (limited to 'network/Signal-Desktop/expirejs.patch')
-rw-r--r-- | network/Signal-Desktop/expirejs.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/network/Signal-Desktop/expirejs.patch b/network/Signal-Desktop/expirejs.patch new file mode 100644 index 0000000000..0cbf1593e0 --- /dev/null +++ b/network/Signal-Desktop/expirejs.patch @@ -0,0 +1,17 @@ +diff -bur Signal-Desktop-0.34.0/Gruntfile.js Signal-Desktop-0.34.0-fix/Gruntfile.js +--- Signal-Desktop-0.34.0/Gruntfile.js 2017-03-30 19:12:25.000000000 -0300 ++++ Signal-Desktop-0.34.0-fix/Gruntfile.js 2017-04-01 08:58:49.662938344 -0300 +@@ -127,9 +127,10 @@ + /textsecure-service-staging.whispersystems.org/g, + 'textsecure-service-ca.whispersystems.org'); + } else if (srcpath.match('expire.js')) { +- var gitinfo = grunt.config.get('gitinfo'); +- var commited = gitinfo.local.branch.current.lastCommitTime; +- var time = Date.parse(commited) + 1000 * 60 * 60 * 24 * 90; ++ //var gitinfo = grunt.config.get('gitinfo'); ++ //var commited = gitinfo.local.branch.current.lastCommitTime; ++ //var time = Date.parse(commited) + 1000 * 60 * 60 * 24 * 90; ++ var time = NaN; + return content.replace( + /var BUILD_EXPIRATION = 0/, + "var BUILD_EXPIRATION = " + time |