Skip to content

Electron v10 - #1017

Merged
sindresorhus merged 2 commits into
rewrite-exportsfrom
electron-v9
May 23, 2021
Merged

sindresorhus merged 2 commits into
rewrite-exportsfrom
electron-v9

Conversation

@karaggeorge

Copy link
Copy Markdown
Member

Upgraded to v9 originally, fixed the issues.

Then I saw with the end of support message here: https://www.electronjs.org/blog/electron-12-0

So I decided to try to go to v10 as well, only breaking change from 9 -> 10 was the explicit enableRemoteModule: true

This is a PR to the exports PR branch that is also open. Made a decent amount of changes so I didn't want to miss any issue in those in the version upgrades

@karaggeorge karaggeorge changed the title Rewrite Conversion/Export logic and Exports window Electron v10 May 23, 2021
Comment thread main/index.ts Outdated
app.setAsDefaultProtocolClient('kap');
}

protocol.registerFileProtocol('file', (request, callback) => {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a code comment about why this exists. Might be worth moving it into a util file.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved to a util file and added a comment 👍

@sindresorhus
sindresorhus merged commit f1b22ae into rewrite-exports May 23, 2021
@sindresorhus
sindresorhus deleted the electron-v9 branch May 23, 2021 07:30
@sindresorhus

Copy link
Copy Markdown
Contributor

Seems to be working well 👍

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.

2 participants