-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Write files #60
Comments
Hi @rroylance I had an error with webpack: But I solved by adding:
But now I have a EACCESS error when trying to write my file. |
Ok forget it, it was because of the path i chose. Thanks :) |
Hi @rroylance, I'm trying to access to Electron from the app code in order to get specifics user paths.
But I got undefined when I try to import Electron. Any idea? |
Hi @tezqa, you may need to require electron rather than importing it.
|
I have tried to use require and import, but without success...
It fails because of the
Indeed, I suppose there is something to configure in the webpack config. |
Ok I ended up with the Nodejs os module to find the correct path. I don't use Electron. |
Hmm. Glad you got it working none the less. Unfortunately I don't even use the electron portion of this project at all so I'm pretty unfamiliar with it. |
Hi,
How to use the node fs module to write file when the game is running in Electron?
Thanks for your help!
The text was updated successfully, but these errors were encountered: