Files
Bridge-Multi/src/electron/shared/Paths.ts
2020-05-27 15:07:31 -04:00

12 lines
405 B
TypeScript

import { join } from 'path'
import { app } from 'electron'
// Data paths
export const dataPath = join(app.getPath('userData'), 'bridge_data')
export const libraryPath = join(dataPath, 'library.db')
export const settingsPath = join(dataPath, 'settings.json')
export const tempPath = join(dataPath, 'temp')
export const themesPath = join(dataPath, 'themes')
// URL
export const serverURL = 'bridge-db.net'