Fix changing the top bar to match the color theme.
This commit is contained in:
parent
2533161667
commit
81a1899dcf
|
@ -1,5 +1,7 @@
|
||||||
|
import electron from 'electron'
|
||||||
import Datastore from 'nedb'
|
import Datastore from 'nedb'
|
||||||
const localDataStorage = '/db'
|
// TODO: Add logic for database when electron is not in use
|
||||||
|
const localDataStorage = electron.remote.app.getPath('userData')
|
||||||
|
|
||||||
const settingsDb = new Datastore({
|
const settingsDb = new Datastore({
|
||||||
filename: localDataStorage + '/settings.db',
|
filename: localDataStorage + '/settings.db',
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
|
import electron from 'electron'
|
||||||
import Datastore from 'nedb'
|
import Datastore from 'nedb'
|
||||||
const localDataStorage = '/db'
|
// TODO: Add logic for database when electron is not in use
|
||||||
|
const localDataStorage = electron.remote.app.getPath('userData')
|
||||||
|
|
||||||
const subDb = new Datastore({
|
const subDb = new Datastore({
|
||||||
filename: localDataStorage + '/subscriptions.db',
|
filename: localDataStorage + '/subscriptions.db',
|
||||||
|
|
Loading…
Reference in New Issue