ayaports/backports/signal-desktop/signal-build-expire-time.patch
build@apk-groulx a48eceecc6 3.17 cleanup
2023-01-11 13:23:51 +00:00

15 lines
381 B
Diff

--- a/ts/scripts/get-expire-time.ts
+++ b/ts/scripts/get-expire-time.ts
@@ -7,11 +7,7 @@
import { DAY } from '../util/durations';
-const unixTimestamp = parseInt(
- execSync('git show -s --format=%ct').toString('utf8'),
- 10
-);
-const buildCreation = unixTimestamp * 1000;
+const buildCreation = new Date().getTime();
const buildExpiration = buildCreation + DAY * 90;