Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,11 @@ func (app *CosmosApp) LoadHomePath() error {
return fmt.Errorf("failed to get output of binary: %w", err)
}

// determine if app is story protocol by looking at default home path
if strings.Contains(string(out), ".story") {
app.isStoryProtocol = true
}

// here we search for a specific line in the binary output when simply
// executed without arguments. In the output, the default home path
// is printed, which is parsed and used by KSYNC
Expand Down