diff --git a/bin/README.md b/bin/README.md index 642095c..4494447 100644 --- a/bin/README.md +++ b/bin/README.md @@ -4,8 +4,8 @@ This directory contains pre-compiled binaries for the DB Backup Tool across mult ## Build Information - **Version**: 1.1.0 -- **Build Time**: 2025-11-05_13:33:17_UTC -- **Git Commit**: b44ee26 +- **Build Time**: 2025-11-05_13:37:59_UTC +- **Git Commit**: 0c626fd ## Recent Updates (v1.1.0) - ✅ Fixed TUI progress display with line-by-line output diff --git a/bin/dbbackup_darwin_amd64 b/bin/dbbackup_darwin_amd64 index cac798c..0fbd085 100755 Binary files a/bin/dbbackup_darwin_amd64 and b/bin/dbbackup_darwin_amd64 differ diff --git a/bin/dbbackup_darwin_arm64 b/bin/dbbackup_darwin_arm64 index bd1394c..cb18fd4 100755 Binary files a/bin/dbbackup_darwin_arm64 and b/bin/dbbackup_darwin_arm64 differ diff --git a/bin/dbbackup_freebsd_amd64 b/bin/dbbackup_freebsd_amd64 index 67a2535..ff2cdb0 100755 Binary files a/bin/dbbackup_freebsd_amd64 and b/bin/dbbackup_freebsd_amd64 differ diff --git a/bin/dbbackup_linux_amd64 b/bin/dbbackup_linux_amd64 index 981dcb0..71d1225 100755 Binary files a/bin/dbbackup_linux_amd64 and b/bin/dbbackup_linux_amd64 differ diff --git a/bin/dbbackup_linux_arm64 b/bin/dbbackup_linux_arm64 index d8d7fb5..79c35c1 100755 Binary files a/bin/dbbackup_linux_arm64 and b/bin/dbbackup_linux_arm64 differ diff --git a/bin/dbbackup_linux_arm_armv7 b/bin/dbbackup_linux_arm_armv7 index 95ea58b..5a60645 100755 Binary files a/bin/dbbackup_linux_arm_armv7 and b/bin/dbbackup_linux_arm_armv7 differ diff --git a/bin/dbbackup_netbsd_amd64 b/bin/dbbackup_netbsd_amd64 index d8296dc..e3376aa 100755 Binary files a/bin/dbbackup_netbsd_amd64 and b/bin/dbbackup_netbsd_amd64 differ diff --git a/bin/dbbackup_openbsd_amd64 b/bin/dbbackup_openbsd_amd64 index 227060c..a792587 100755 Binary files a/bin/dbbackup_openbsd_amd64 and b/bin/dbbackup_openbsd_amd64 differ diff --git a/bin/dbbackup_windows_amd64.exe b/bin/dbbackup_windows_amd64.exe index 3a2e0b6..cb49ec5 100755 Binary files a/bin/dbbackup_windows_amd64.exe and b/bin/dbbackup_windows_amd64.exe differ diff --git a/bin/dbbackup_windows_arm64.exe b/bin/dbbackup_windows_arm64.exe index 12a513d..0d1c2e2 100755 Binary files a/bin/dbbackup_windows_arm64.exe and b/bin/dbbackup_windows_arm64.exe differ diff --git a/dbbackup b/dbbackup index 981dcb0..71d1225 100755 Binary files a/dbbackup and b/dbbackup differ diff --git a/internal/tui/backup_exec.go b/internal/tui/backup_exec.go index 43d9b72..8ab4207 100644 --- a/internal/tui/backup_exec.go +++ b/internal/tui/backup_exec.go @@ -12,7 +12,6 @@ import ( "dbbackup/internal/config" "dbbackup/internal/database" "dbbackup/internal/logger" - "dbbackup/internal/progress" ) // BackupExecutionModel handles backup execution with progress @@ -48,18 +47,8 @@ func NewBackupExecution(cfg *config.Config, log logger.Logger, parent tea.Model, func (m BackupExecutionModel) Init() tea.Cmd { reporter := NewTUIProgressReporter() - reporter.AddCallback(func(ops []progress.OperationStatus) { - if len(ops) == 0 { - return - } - - latest := ops[len(ops)-1] - tea.Println(backupProgressMsg{ - status: latest.Message, - progress: latest.Progress, - detail: latest.Status, - }) - }) + // Note: Progress updates are handled through the model's internal state + // No need for callbacks that print to screen - the View() handles all display return tea.Batch( executeBackupWithTUIProgress(m.config, m.logger, m.backupType, m.databaseName, m.ratio, reporter),