Skip to content

Commit

Permalink
Reflect verification status in install -l command
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeliux committed Aug 20, 2024
1 parent 304238f commit 96f15bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/Kryptor.Cli.Shared/Wordlist/InstallSessionHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ private void PrintList()
{
foreach (WordlistIndexEntry wordlist in Index.Wordlists)
{
string status = !LocalIndex.ContainsId(wordlist.Id) ? "" : LocalIndex[wordlist.Id].Hash.SequenceEqual(wordlist.Hash) ? "(Installed)" : "(Update Avaiable)";
string status = !LocalIndex.ContainsId(wordlist.Id) ? "" : LocalIndex[wordlist.Id].Hash.SequenceEqual(wordlist.Hash) && LocalIndex[wordlist.Id].Verify(false) ? "(Installed)" : "(Update Avaiable)";

Log($"\n{wordlist.Id}: {status}");
Log($"Description: {wordlist.Name}");
Expand Down

0 comments on commit 96f15bb

Please sign in to comment.