Robert Wesner
Robert Wesner
The electron-plugin tests give following error: ``` TypeError: electron_store_1.default is not a constructor ``` As far as I could reproduce this error existed in the electron-plugin repository before it was...
Thank you both for the kind words! This should work on all platforms but it would probably be wise to test on other systems. As I don't have a macOS...
I was able to fix this by adding following overrides: ```json { "dependencies": { ... }, "overrides": { "gulp": "5.0.1", "braces": "latest", "micromatch": "latest" } } ``` You may want...
I am not that familiar with how NodeJS handles it internally but would a [Subpath Import](https://nodejs.org/api/packages.html#packages_subpath_imports) mitigate the need for the whole tarball process? It most likely requires you to...
To check whether we can use subpath imports in place of the tarball I integrated the plugin [here](https://github.com/NativePHP/electron/compare/main...RobertWesner:electron:main). Was more straightforward than expected and worked mostly out of the box,...
@gwleuverink yes, the php executable exists and `./php -v` works.
Finally managed to find the issue, `getAppPath()` needed to be modified from ```js let appPath = join(__dirname, '../../../../../resources/app/').replace('app.asar', 'app.asar.unpacked'); ``` to ```js let appPath = join(__dirname, '../../resources/app/').replace('app.asar', 'app.asar.unpacked'); ``` I...
It looks like that version (0.4) requires `$value->getInternalValue()` instead of `$value->getCoreValue()`. But 0.4 seems to be outdated, the most recent version is from 2022 but unreleased. Below are some working...