mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-07-09 03:25:09 +00:00
Added database connection error handling
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import * as path from 'path'
|
||||
import { join } from 'path'
|
||||
import { app } from 'electron'
|
||||
|
||||
// Data paths
|
||||
export const dataPath = path.join(app.getPath('userData'), 'bridge_data')
|
||||
export const libraryPath = path.join(dataPath, 'library.db')
|
||||
export const settingsPath = path.join(dataPath, 'settings.json')
|
||||
export const tempPath = path.join(dataPath, 'temp')
|
||||
export const themesPath = path.join(dataPath, 'themes')
|
||||
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 = '64.53.210.87'
|
||||
export const serverURL = 'bridge-db.net'
|
||||
Reference in New Issue
Block a user