Closed MayaShenHongyu closed 3 years ago
In index.js:
exports.formConfig = new Datastore({ filename: path.join(__dirname, "./db/form_config.db"), autoload: true, });
In renderer process:
const db = window.require("electron").remote.require("./electron").formConfig;
It's similar but not the same as #620 Does anyone know how to solve this? Thanks a lot!!!
In index.js:
In renderer process:
It's similar but not the same as #620 Does anyone know how to solve this? Thanks a lot!!!