aboutsummaryrefslogtreecommitdiffhomepage
path: root/state.go
diff options
context:
space:
mode:
authorOphestra Umiker <cat@ophivana.moe>2024-10-10 11:03:31 +0900
committerOphestra Umiker <cat@ophivana.moe>2024-10-10 11:03:31 +0900
commit2220055e26bff8b426ebf086d09ba242e5180e76 (patch)
tree9e66c82b9978bf217f4ff01036a592b7b06e989b /state.go
parentf4c44a9441dea0054f9e4b20c2a3e8e71d9fde8f (diff)
state/simple: prefix store path
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'state.go')
-rw-r--r--state.go3
1 files changed, 2 insertions, 1 deletions
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)