diff --git a/Assets/Rivet/Editor/TaskManager.cs b/Assets/Rivet/Editor/TaskManager.cs index 6340704..ccbd675 100644 --- a/Assets/Rivet/Editor/TaskManager.cs +++ b/Assets/Rivet/Editor/TaskManager.cs @@ -193,7 +193,7 @@ private void OnTaskLog(string message, RivetTask.LogType type) _ => LogType.META }; - // Strip [stdout] and [stderr] prefixes + // Clean up message message = StripLogPrefix(message); AddLogLine(message, logType); diff --git a/Assets/Rivet/Editor/UI/Dock/Dock.cs b/Assets/Rivet/Editor/UI/Dock/Dock.cs index ec68bc6..fe2d905 100644 --- a/Assets/Rivet/Editor/UI/Dock/Dock.cs +++ b/Assets/Rivet/Editor/UI/Dock/Dock.cs @@ -194,9 +194,8 @@ public void OnEnable() // Bootstrap _ = RivetGlobal.Singleton.Bootstrap(); - // TODO: - // Start backend - // _ = BackendManager.StartTask(); + // Auto-start backend + _ = BackendManager.StartTask(); } public void OnDisable() diff --git a/Assets/Rivet/Editor/UI/TaskPanel/TaskPanelWindow.cs b/Assets/Rivet/Editor/UI/TaskPanel/TaskPanelWindow.cs index b71aff5..f95eedb 100644 --- a/Assets/Rivet/Editor/UI/TaskPanel/TaskPanelWindow.cs +++ b/Assets/Rivet/Editor/UI/TaskPanel/TaskPanelWindow.cs @@ -76,7 +76,7 @@ public class GameServerWindow : TaskPanelWindow [MenuItem("Window/Rivet/Game Server Logs", false, 20)] public static void ShowGameServer() { - var panel = GetWindow(); + var panel = GetWindow(utility: false, null, focus: true); panel.titleContent = new GUIContent("Game Server Logs"); } @@ -84,7 +84,7 @@ public static void ShowGameServer() { if (HasOpenInstances()) { - return GetWindow(); + return GetWindow(utility: false, null, focus: false); } else { @@ -100,7 +100,7 @@ public class BackendWindow : TaskPanelWindow [MenuItem("Window/Rivet/Backend Logs", false, 10)] public static void ShowBackend() { - var panel = GetWindow(); + var panel = GetWindow(utility: false, null, focus: true); panel.titleContent = new GUIContent("Backend Logs"); } @@ -108,7 +108,7 @@ public static void ShowBackend() { if (HasOpenInstances()) { - return GetWindow(); + return GetWindow(utility: false, null, focus: false); } else {