mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Rename files
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
// Copyright 2021 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { app } from 'electron';
|
||||
|
||||
import { name } from '../ts/util/packageJson.node.js';
|
||||
import { createLogger } from '../ts/logging/log.std.js';
|
||||
import * as GlobalErrors from './global_errors.main.js';
|
||||
|
||||
const log = createLogger('startup_config');
|
||||
|
||||
GlobalErrors.addHandler();
|
||||
|
||||
// Set umask early on in the process lifecycle to ensure file permissions are
|
||||
// set such that only we have read access to our files
|
||||
process.umask(0o077);
|
||||
|
||||
export const AUMID = `org.whispersystems.${name}`;
|
||||
log.info('Set Windows Application User Model ID (AUMID)', {
|
||||
AUMID,
|
||||
});
|
||||
app.setAppUserModelId(AUMID);
|
||||
Reference in New Issue
Block a user