mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 04:09:49 +00:00
Rename files
This commit is contained in:
17
ts/scripts/prepare-no-delay-release.node.ts
Normal file
17
ts/scripts/prepare-no-delay-release.node.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
// Copyright 2025 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
// Copyright 2021 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import fs from 'node:fs';
|
||||
import { join } from 'node:path';
|
||||
|
||||
const PACKAGE_FILE = join(__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, ' '));
|
||||
Reference in New Issue
Block a user