mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-07-09 11:35:08 +00:00
Initial Browse UI and initial song search
This commit is contained in:
19
src/electron/shared/Settings.ts
Normal file
19
src/electron/shared/Settings.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
export class Settings {
|
||||
|
||||
// Singleton
|
||||
private constructor() { }
|
||||
private static settings: Settings
|
||||
static async getInstance() {
|
||||
if (this.settings == undefined) {
|
||||
this.settings = new Settings()
|
||||
}
|
||||
await this.settings.initSettings()
|
||||
return this.settings
|
||||
}
|
||||
|
||||
songsFolderPath: string
|
||||
|
||||
private async initSettings() {
|
||||
// TODO: load settings from settings file or set defaults
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user