From aeb772bccd3d29ed5e9d93229af1ea7d158e00d5 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 22 Jul 2025 15:14:08 +0300 Subject: Reorganize assets and bump version to 0.7.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Move totalrecall.desktop, install-icon.sh, and config.yaml.example to assets/ directory - Update all references in README.md and install-icon.sh - Add file organization guidelines to AGENTS.md - Clean up root directory structure 🤖 Generated with [opencode](https://opencode.ai) Co-Authored-By: opencode --- internal/gui/app.go | 9 +++++++-- internal/version.go | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'internal') diff --git a/internal/gui/app.go b/internal/gui/app.go index aa4fb74..cb1ed2d 100644 --- a/internal/gui/app.go +++ b/internal/gui/app.go @@ -185,7 +185,7 @@ func New(config *Config) *Application { // setupUI creates the main user interface func (a *Application) setupUI() { - a.window = a.app.NewWindow(fmt.Sprintf("TotalRecall v%s - Bulgarian Flashcard Generator", internal.Version)) + a.window = a.app.NewWindow("TotalRecall") a.window.SetIcon(GetAppIcon()) a.window.Resize(fyne.NewSize(880, 770)) @@ -372,8 +372,13 @@ func (a *Application) setupUI() { a.queueStatusLabel = widget.NewLabel("Queue: Empty") a.queueStatusLabel.TextStyle = fyne.TextStyle{Italic: true} + // Create version label + versionLabel := widget.NewLabel(fmt.Sprintf("v%s", internal.Version)) + versionLabel.TextStyle = fyne.TextStyle{Italic: true} + versionLabel.Alignment = fyne.TextAlignTrailing + statusSection := container.NewBorder( - nil, nil, nil, nil, + nil, nil, nil, versionLabel, container.NewVBox( a.statusLabel, widget.NewSeparator(), diff --git a/internal/version.go b/internal/version.go index a448a34..f4c9657 100644 --- a/internal/version.go +++ b/internal/version.go @@ -1,3 +1,3 @@ package internal -const Version = "0.7.2" +const Version = "0.7.3" -- cgit v1.2.3