[feat] add daemon support with automatic restart on crash

This commit is contained in:
dijunkun
2025-11-19 22:09:51 +08:00
parent 4dd3c3e073
commit 97ab9bfca5
11 changed files with 549 additions and 7 deletions

View File

@@ -261,6 +261,7 @@ int Render::LoadSettingsFromCacheFile() {
enable_srtp_ = config_center_->IsEnableSrtp();
enable_self_hosted_ = config_center_->IsSelfHosted();
enable_autostart_ = config_center_->IsEnableAutostart();
enable_daemon_ = config_center_->IsEnableDaemon();
enable_minimize_to_tray_ = config_center_->IsMinimizeToTray();
language_button_value_last_ = language_button_value_;