Monkey-patch os.hostname on Windows 7

This commit is contained in:
Fedor Indutny 2022-06-23 12:15:27 -07:00 committed by GitHub
parent 82dad0d7f7
commit 96b864d6a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 51 additions and 17 deletions

View file

@ -1,6 +1,9 @@
// Copyright 2020-2021 Signal Messenger, LLC
// Copyright 2020-2022 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
// This has to be the first import because of monkey-patching
import '../shims';
import { contextBridge } from 'electron';
import { SignalContext } from '../context';