20 lines
390 B
JavaScript
20 lines
390 B
JavaScript
const { randomUUID } = require("crypto");
|
|
const Store = require("electron-store");
|
|
|
|
const store = new Store({
|
|
defaults: {
|
|
deviceId: randomUUID(),
|
|
showChangeLog: true,
|
|
enableNotifications: true,
|
|
filePaths: [],
|
|
accepted_ins_co: [],
|
|
runWatcherOnStartup: true,
|
|
polling: {
|
|
enabled: false,
|
|
pollingInterval: 30000,
|
|
},
|
|
},
|
|
});
|
|
|
|
exports.store = store;
|