diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2021-10-01 21:51:55 +0530 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2021-10-01 21:51:55 +0530 |
commit | 204a80708e6e0a2189de16438a3eb4b57ef84987 (patch) | |
tree | a8fa3afb58dbfec67bced4281837d33fd4e71413 /src/electron/ipc-api | |
parent | refactor: move 'asarRecipesPath' into 'asar-helpers' (diff) | |
download | ferdium-app-204a80708e6e0a2189de16438a3eb4b57ef84987.tar.gz ferdium-app-204a80708e6e0a2189de16438a3eb4b57ef84987.tar.zst ferdium-app-204a80708e6e0a2189de16438a3eb4b57ef84987.zip |
refactor: split 'environment' into 'environment-remote' with only the remote module dependency
(might be a pre-requisite for the electron v14 upgrade)
Diffstat (limited to 'src/electron/ipc-api')
-rw-r--r-- | src/electron/ipc-api/localServer.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/electron/ipc-api/localServer.ts b/src/electron/ipc-api/localServer.ts index 61e56c777..7ee642101 100644 --- a/src/electron/ipc-api/localServer.ts +++ b/src/electron/ipc-api/localServer.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { ipcMain, BrowserWindow } from 'electron'; | 1 | import { ipcMain, BrowserWindow } from 'electron'; |
2 | import net from 'net'; | 2 | import net from 'net'; |
3 | import { LOCAL_HOSTNAME, LOCAL_PORT } from '../../config'; | 3 | import { LOCAL_HOSTNAME, LOCAL_PORT } from '../../config'; |
4 | import { userDataPath } from '../../environment'; | 4 | import { userDataPath } from '../../environment-remote'; |
5 | import { server } from '../../internal-server/start'; | 5 | import { server } from '../../internal-server/start'; |
6 | 6 | ||
7 | const portInUse = (port: number): Promise<boolean> => | 7 | const portInUse = (port: number): Promise<boolean> => |