fix: resolve theme refresh issue after updates

This commit is contained in:
xboard
2025-07-21 08:27:41 +08:00
parent bcfda44730
commit 90360cfeb5
2 changed files with 95 additions and 62 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ class XboardUpdate extends Command
$updateService = new UpdateService();
$updateService->updateVersionCache();
$themeService = app(ThemeService::class);
$themeService->switch(admin_setting('current_theme'));
$themeService->refreshCurrentTheme();
$this->info('更新完毕,队列服务已重启,你无需进行任何操作。');
}
}