持久化设置保存的地址和内容


const Store = require('electron-store') const settingsStore = new Store({name:'Settings'})
let savedLocation =  settingsStore.get('saveFileLocation') if(savedLocation){    ... }   settingsStore.set('saveFileLocation',savedLocation) const savedLocation = settingsStore.get('saveFileLocation') || remote.app.getPath('documents')