diff --git a/code/code/settings.go b/code/code/settings.go index c9984c80..2179a698 100644 --- a/code/code/settings.go +++ b/code/code/settings.go @@ -10,7 +10,6 @@ import ( "slices" "strings" - "cogentcore.org/cogent" "cogentcore.org/cogent/code/cdebug" "cogentcore.org/core/fi" "cogentcore.org/core/filetree" @@ -163,14 +162,7 @@ func (se *SettingsData) ApplyEnvVars() { } } -// VersionInfo returns Code version information -func (se *SettingsData) VersionInfo() string { //gti:add - vinfo := cogent.Version + " date: " + cogent.VersionDate + " UTC; git commit-1: " + cogent.GitCommit - return vinfo -} - func (se *SettingsData) ConfigToolbar(tb *gi.Toolbar) { - giv.NewFuncButton(tb, se.VersionInfo).SetShowReturn(true).SetIcon(icons.Info) giv.NewFuncButton(tb, se.EditKeyMaps).SetIcon(icons.Keyboard) giv.NewFuncButton(tb, se.EditLangOpts).SetIcon(icons.Subtitles) giv.NewFuncButton(tb, se.EditCmds).SetIcon(icons.KeyboardCommandKey) diff --git a/version.go b/version.go deleted file mode 100644 index 094589c3..00000000 --- a/version.go +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by "core version"; DO NOT EDIT. - -package cogent - -const ( - // Version is the version of this package being used - Version = "v0.0.0" - // GitCommit is the commit just before the latest version commit - GitCommit = "e272623" - // VersionDate is the date-time of the latest version commit in UTC (in the format 'YYYY-MM-DD HH:MM', which is the Go format '2006-01-02 15:04') - VersionDate = "2024-01-20 05:59" -)