feat: New one-click Home Server, now in Labs. Launch your own self-hosted server instance with just 1 click from the Preferences window. (#2341)
This commit is contained in:
@@ -48,6 +48,13 @@ export class DesktopManager
|
||||
void this.backups.importWatchedDirectoryChanges(changes)
|
||||
}
|
||||
|
||||
async handleHomeServerStarted(serverUrl: string): Promise<void> {
|
||||
const userIsSignedIn = this.application.sessions.isSignedIn()
|
||||
if (!userIsSignedIn) {
|
||||
await this.application.setCustomHost(serverUrl)
|
||||
}
|
||||
}
|
||||
|
||||
beginTextBackupsTimer() {
|
||||
if (this.textBackupsInterval) {
|
||||
clearInterval(this.textBackupsInterval)
|
||||
|
||||
Reference in New Issue
Block a user