chore: fix errenous windows paths from previous migration

This commit is contained in:
Mo
2023-05-07 07:38:22 -05:00
parent ae03f84651
commit e351a97940
11 changed files with 101 additions and 17 deletions

View File

@@ -76,6 +76,7 @@ export class RemoteBridge implements CrossProcessBridge {
migrateLegacyFileBackupsToNewStructure: this.migrateLegacyFileBackupsToNewStructure.bind(this),
getUserDocumentsDirectory: this.getUserDocumentsDirectory.bind(this),
monitorPlaintextBackupsLocationForChanges: this.monitorPlaintextBackupsLocationForChanges.bind(this),
joinPaths: this.joinPaths.bind(this),
}
}
@@ -235,6 +236,10 @@ export class RemoteBridge implements CrossProcessBridge {
return this.fileBackups.monitorPlaintextBackupsLocationForChanges(backupsDirectory)
}
joinPaths(...paths: string[]): Promise<string> {
return this.fileBackups.joinPaths(...paths)
}
askForMediaAccess(type: 'camera' | 'microphone'): Promise<boolean> {
return this.media.askForMediaAccess(type)
}