From 2220055e26bff8b426ebf086d09ba242e5180e76 Mon Sep 17 00:00:00 2001 From: Ophestra Umiker Date: Thu, 10 Oct 2024 11:03:31 +0900 Subject: state/simple: prefix store path Signed-off-by: Ophestra Umiker --- state.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'state.go') diff --git a/state.go b/state.go index 96bddff1..5454fb79 100644 --- a/state.go +++ b/state.go @@ -6,6 +6,7 @@ import ( "os" "text/tabwriter" + "git.ophivana.moe/cat/fortify/internal" "git.ophivana.moe/cat/fortify/internal/state" ) @@ -21,7 +22,7 @@ func init() { func tryState() { if stateActionEarly { var w *tabwriter.Writer - state.MustPrintLauncherStateSimpleGlobal(&w) + state.MustPrintLauncherStateSimpleGlobal(&w, internal.GetSC().RunDirPath) if w != nil { if err := w.Flush(); err != nil { fmt.Println("warn: error formatting output:", err) -- cgit v1.3.1