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

Review and adapt to electron 4.0 / 5.0 / 6.0 breaking changes #727

Closed
ronjouch opened this issue Dec 20, 2018 · 4 comments
Closed

Review and adapt to electron 4.0 / 5.0 / 6.0 breaking changes #727

ronjouch opened this issue Dec 20, 2018 · 4 comments

Comments

@ronjouch
Copy link
Contributor

ronjouch commented Dec 20, 2018

It's that time again! 4.0 5.0 6.0 is out (4.0 release notes , EDIT: 5.0 release notes, 6.0 release notes).

  • 4.0 has, from what I see, one breaking change:
  • 5.0: TODO
  • 6.0: TODO

Anyone up to do it? PR welcome.

Also,

@nwoolls
Copy link
Contributor

nwoolls commented Apr 18, 2019

@ronjouch just taking a look at this - it seems like maybe both of the noted breaking changes have already been addressed? I see commit 479611e seems to have introduce / modified the single-instance code to be in-line with electron/electron#12782, and I do not see any code calling the methods deprecated in electron/electron#14518.

I've made a handful of small changes in order to build with Electron 4 and optionally enable Dark Mode on Mojave. The only issues I am seeing so far are:

  • The icon for the app is not correct, but rather is the stock Electron icon. However, I see the same thing if I just clone master and then build & use that. Works fine installing w/ npm.
  • Using CMD+W doesn't "fail" per-se, but does quit the app rather than closing the window and leaving the app open.

Any pointers on the above would be appreciated. Would love to help if this is truly a "quick pick" :)

@ronjouch
Copy link
Contributor Author

@nwoolls thanks for chiming in!

  • I've made a handful of small changes in order to build with Electron 4 and optionally enable Dark Mode on Mojave.
  • The icon for the app is not correct, but rather is the stock Electron icon. However, I see the same thing if I just clone master and then build & use that. Works fine installing w/ npm.

Cool, send a PR!

  • Using CMD+W doesn't "fail" per-se, but does quit the app rather than closing the window and leaving the app open.

For me under Linux, Ctrl+W still fails on 4.x (it doesn't do anything and doesn't quit). But I notice 5.0.0-beta.X doesn't have the problem, so unless someone fixes the situation on 4.x, my plan was to simply 4.x and bump the default Electron to 5.x once it's stable. If you have the time for that, feedback welcome about breakage in 5.0.0-beta.X. I didn't notice any, but my usage of Nativefier these days is extremely limited, so there's a high chance I'm missing regressions.

Any pointers on the above would be appreciated. Would love to help if this is truly a "quick pick" :)

The quick pick label is only a wild guess and an attempt at attracting contributors, but I might be wrong 🙂. And sorry, PRs very welcome, but these days I don't have the time & will to help more actively, see Issue #746 - ⚠ Read before asking: Nativefier is unmaintained, we need your help! ⚠.

@ronjouch ronjouch changed the title Review and adapt to electron 4.0 breaking changes Review and adapt to electron 4.0 / 5.0 breaking changes Apr 19, 2019
@nwoolls
Copy link
Contributor

nwoolls commented Apr 19, 2019

@ronjouch PR is up at #796

We can continue the conversation there if that makes sense.

@ronjouch ronjouch changed the title Review and adapt to electron 4.0 / 5.0 breaking changes Review and adapt to electron 4.0 / 5.0 / 6.0 breaking changes Aug 1, 2019
@fuzzy76
Copy link

fuzzy76 commented Aug 7, 2019

Just mentioning here that since Electron 3.x is EOL, this can lead to security issues.

ronjouch pushed a commit that referenced this issue Aug 22, 2019
Introduces a `--darwin-dark-mode-support` flag. 
(I kept the same flag used by Electron Packager.)
This required bumping Electron and Electron Packager.

Addresses:

- #733
- #727
Adam777Z pushed a commit to Adam777Z/nativefier that referenced this issue Nov 9, 2022
Introduces a `--darwin-dark-mode-support` flag. 
(I kept the same flag used by Electron Packager.)
This required bumping Electron and Electron Packager.

Addresses:

- nativefier#733
- nativefier#727
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants