Skip to content

Conversation

@schmidtk
Copy link
Contributor

@schmidtk schmidtk commented Jul 6, 2021

Newer versions of Electron don't seem to handle loading preload scripts from session.setPreloads properly. The first time the app is loaded, these preload scripts are not loaded.

This changes the resolver's Electron plugin to generate a preload script that loads the other preloads contributed by projects in the workspace. That allows the app to use webPreferences.preload, which is the preferred way to load a preload script.

This supplements ngageoint/opensphere-electron/pull/42.

@schmidtk schmidtk self-assigned this Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant