Skip to content

Conversation

@PeterBenko
Copy link

@PeterBenko PeterBenko commented Dec 21, 2023

Description

Fixes #1253

Contribution Checklist:

  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.

Publishing to New Package Managers

Please see here for more information.

Its-treason added a commit to Its-treason/bruno that referenced this pull request Mar 2, 2024
@sebastian-xitaso
Copy link

Would love to see this merged 👌
We develop an Electron-based app and always have ELECTRON_IS_DEV set to 1 (true)

@buster1407
Copy link

Also having problems with the linked issue here.
Would be really nice to get this merged 🙂

@@ -1,5 +1,4 @@
const path = require('path');
const isDev = require('electron-is-dev');
Copy link
Contributor

Choose a reason for hiding this comment

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

Does that mean the dependency can be removed from package.json?

Copy link
Member

Choose a reason for hiding this comment

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

Yes, but this wouldn't change much, because electron-is-dev is also required by electron-util

Copy link
Author

@PeterBenko PeterBenko Jul 24, 2024

Choose a reason for hiding this comment

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

I'm all for maintaining a clean package.json!

Removed the now (in packages/bruno-electron) redundant package and updated the lockfile.
It seems like there's more changes in the lockfile than I expected:

  • @n8n/vm2 wasn't tracked and now is
  • packages/bruno-electron received a version bump
  • a bunch of "dev": true lock flags disappeared - I honestly don't know how that relates to my change

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.

White screen on start when ELECTRON_IS_DEV=1

6 participants