diff options
| author | Ophestra Umiker <cat@ophivana.moe> | 2024-10-10 11:03:31 +0900 |
|---|---|---|
| committer | Ophestra Umiker <cat@ophivana.moe> | 2024-10-10 11:03:31 +0900 |
| commit | 2220055e26bff8b426ebf086d09ba242e5180e76 (patch) | |
| tree | 9e66c82b9978bf217f4ff01036a592b7b06e989b /state.go | |
| parent | f4c44a9441dea0054f9e4b20c2a3e8e71d9fde8f (diff) | |
state/simple: prefix store path
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'state.go')
| -rw-r--r-- | state.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |
