Since the remote
method is being considered deprecated, as shown here, I’d suggest you do this:
const {app} = require('electron');
console.log(app.getPath('userData'));
Since the remote
method is being considered deprecated, as shown here, I’d suggest you do this:
const {app} = require('electron');
console.log(app.getPath('userData'));