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
11 changed files with 51 additions and 17 deletions

View File

@@ -1,6 +1,9 @@
// Copyright 2021 Signal Messenger, LLC
// Copyright 2021-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 React from 'react';
import ReactDOM from 'react-dom';
import { contextBridge, ipcRenderer } from 'electron';