From 1e2859c1841f8f33499b855c0d0cd8a0e06e0614 Mon Sep 17 00:00:00 2001 From: Jacky Date: Sat, 26 Oct 2024 21:46:32 +0800 Subject: [PATCH] fix: set default value of the start cmd of the terminal --- settings/terminal.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/settings/terminal.go b/settings/terminal.go index bbae1a6c..b0d8fc33 100644 --- a/settings/terminal.go +++ b/settings/terminal.go @@ -4,4 +4,6 @@ type Terminal struct { StartCmd string `json:"start_cmd" protected:"true"` } -var TerminalSettings = &Terminal{} +var TerminalSettings = &Terminal{ + StartCmd: "login", +}