aboutsummaryrefslogtreecommitdiff
path: root/gui/internal/model/about.go
blob: e92a0f4aa2ed1c4ba0b039fed4ffa9fce806079d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// SPDX-License-Identifier: GPL-3.0-or-later

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.
const (
	Author  = "Lukasz Kasprzak"
	Contact = "contact@labunix.xyz"
	Licence = "GPL-3.0-or-later"
)

// About is the block Settings shows at its foot: what this is, which build
// it is, and under what terms. The first line names the program and its
// version; the rest are the small print.
func About(version string) []string {
	if version == "" {
		version = "dev"
	}
	return []string{
		"krino " + version,
		"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,
	}
}