Closed rhclayto closed 7 years ago
Another solution: change the TMPDIR environment variable in the main electron process to somewhere outside the app directory:
process.env['TMPDIR'] = '/tmp';
awesome, so all you need to do is to change the package.json inside the VFAT folder to set such env variable upfront, right?
"scripts": {
"start": "TMPDIR=/tmp electron index.js"
},
Works for me!
You might want to add this information to the documentation.
Since
/home/benja/app
is formatted as VFAT, which cannot use symlinks, it is impossible to use BENJA with Electron'sapp.makeSingleInstance()
method, which depends on creating symlinks in the app directory. Formatting as ext4 makes it possible to use this method. See https://github.com/electron/electron/issues/10349 .