Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Use random port when running as electron #1852

Merged
merged 1 commit into from
Jan 25, 2021

Conversation

GuessWhoSamFoo
Copy link
Contributor

What this PR does / why we need it:
This PR uses IPC to send the port number from main to render. Imports such as fs and path are node-only modules so there is some import trickery when used in renderer (see https://github.com/maximegris/angular-electron/blob/master/src/app/core/services/electron/electron.service.ts).

Which issue(s) this PR fixes

Signed-off-by: GuessWhoSamFoo [email protected]

@wwitzel3 wwitzel3 merged commit 29a5fd9 into vmware-archive:master Jan 25, 2021
@GuessWhoSamFoo GuessWhoSamFoo deleted the issue-944 branch March 30, 2021 06:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Octant running an electron app should use random port for backend
2 participants