9 lines
172 B
JavaScript
9 lines
172 B
JavaScript
import Store from 'electron-store'
|
|
|
|
const store = new Store()
|
|
const set = (key, val) => store.set(key, val)
|
|
|
|
const get = (key) => store.get(key)
|
|
|
|
export default {set, get}
|