I have an src/starter.js file
that has
const electron = require('electron');
const app = electron.app;
etc that creates in the app window.
In src/another.js file I am trying to get the app.getAppPath("temp")
path. I've tried export app
export { app }
, export const tempPath = app.getAppPath("temp")
and importing those in the another.js file but nothing seems to work. How should I be able access these from another.js file?