Erik Moura

Results 20 comments of Erik Moura

@malept I guess I can implement the lifecycle hooks suggested by @njbmartin. For consistency with the current hooks, I'd name them `before${actionName}` / `after${actionName}`. Is that fine by you?

@darkfiredarkhalo looks like this is a known issue in `electron-squirrel-startup` when setting the `requested-execution-level` option to `"highestAvailable"` or `"requireAdministrator"` (other options under `win32metadata` don't seem to be affected): https://github.com/mongodb-js/electron-squirrel-startup/issues/37. There's...

For anyone who's looking for a workaround/alternative in the meantime, I've developed two packages to create .deb installers: [electron-deboa-maker](https://github.com/erikian/electron-deboa-maker), which is a maker for electron-forge, and [deboa](https://github.com/erikian/deboa), which is the...

The Webpack plugin modifies the original package.json, setting `devDependencies` (as well as `dependencies`/`optionalDependencies`/`peerDependencies`) to an empty object here: https://github.com/electron/forge/blob/1f45e2ca701ec117df932f38e7fe808bdd832e74/packages/plugin/webpack/src/WebpackPlugin.ts#L241-L244 When `@doyensec/electronegativity` attempts to read the Electron version from `devDependencies`, it...

@pckhoi That would be awesome 😃

As an alternative/workaround, you can use [electron-deboa-maker](https://github.com/erikian/electron-deboa-maker) to package your app to Ubuntu. It doesn't depend on dpkg or fakeroot, so it should work fine.

@erickzhao I can tackle this one if it's still relevant.

No longer relevant since https://github.com/electron/forge/pull/2948?

@SantiagoChiappe are you getting an error similar to this (reported in https://github.com/electron/electron/issues/37876#issuecomment-1984873828) in your main process? ``` [91044:0308/100700.690484:ERROR:CONSOLE(2)] "Electron sandboxed_renderer.bundle.js script failed to run", source: node:electron/js2c/sandbox_bundle (2) [91044:0308/100700.690537:ERROR:CONSOLE(2)] "TypeError: object...