mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-18 13:49:39 +01:00
15 lines
473 B
JavaScript
15 lines
473 B
JavaScript
// Copyright 2025 Signal Messenger, LLC
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
// @ts-check
|
|
import fs from 'node:fs';
|
|
import { join } from 'node:path';
|
|
|
|
const PACKAGE_FILE = join(import.meta.dirname, '..', 'package.json');
|
|
|
|
const json = JSON.parse(fs.readFileSync(PACKAGE_FILE, { encoding: 'utf8' }));
|
|
|
|
json.build.mac.releaseInfo.vendor.noDelay = true;
|
|
json.build.win.releaseInfo.vendor.noDelay = true;
|
|
|
|
fs.writeFileSync(PACKAGE_FILE, JSON.stringify(json, null, ' '));
|