diff options
Diffstat (limited to 'gui/internal/model')
| -rw-r--r-- | gui/internal/model/about.go | 5 | ||||
| -rw-r--r-- | gui/internal/model/about_test.go | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/gui/internal/model/about.go b/gui/internal/model/about.go index ca57bba..ce2d9d7 100644 --- a/gui/internal/model/about.go +++ b/gui/internal/model/about.go @@ -3,12 +3,12 @@ package model // The people and terms behind the program, in one place so About and any -// later --about agree. The repository line joins these once there is a -// public one to name. +// later --about agree. const ( Author = "Lukasz Kasprzak" Contact = "lukas@labunix.xyz" Licence = "GPL-3.0-or-later" + Repo = "https://git.labunix.xyz/krino.git" ) // About is the block Settings shows at its foot: what this is, which build @@ -23,5 +23,6 @@ func About(version string) []string { "A rule-based file sorter: it reads a directory, works out what belongs where, shows you the plan, and only then moves anything.", "Licence: " + Licence + " - free software, with no warranty.", "By " + Author + ", " + Contact, + Repo, } } diff --git a/gui/internal/model/about_test.go b/gui/internal/model/about_test.go index 122152b..5bfd991 100644 --- a/gui/internal/model/about_test.go +++ b/gui/internal/model/about_test.go @@ -23,6 +23,7 @@ func TestAboutSaysWhatItIs(t *testing.T) { "GPL-3.0-or-later", "Lukasz Kasprzak", "lukas@labunix.xyz", + "https://git.labunix.xyz/krino.git", } { if !strings.Contains(whole, want) { t.Errorf("About does not mention %q:\n%s", want, whole) |
