Fix cross-platform compilation for all target platforms

- Fixed type mismatch in disk space calculation (int64 casting)
- Created platform-specific disk space implementations:
  * diskspace_unix.go (Linux, macOS, FreeBSD)
  * diskspace_windows.go (Windows)
  * diskspace_bsd.go (OpenBSD)
  * diskspace_netbsd.go (NetBSD fallback)
- All 10 platforms now compile successfully:
   Linux (amd64, arm64, armv7)
   macOS (Intel, Apple Silicon)
   Windows (amd64, arm64)
   FreeBSD, OpenBSD, NetBSD
This commit is contained in:
2025-11-07 15:16:54 +00:00
parent 2d34eca514
commit 9d1d276d39
16 changed files with 82 additions and 7 deletions

View File

@ -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-07_13:27:44_UTC
- **Git Commit**: ebb77fb
- **Build Time**: 2025-11-07_15:15:58_UTC
- **Git Commit**: 2d34eca
## Recent Updates (v1.1.0)
- ✅ Fixed TUI progress display with line-by-line output

BIN
bin/dbbackup_darwin_amd64 Executable file

Binary file not shown.

BIN
bin/dbbackup_darwin_arm64 Executable file

Binary file not shown.

BIN
bin/dbbackup_freebsd_amd64 Executable file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
bin/dbbackup_linux_arm_armv7 Executable file

Binary file not shown.

BIN
bin/dbbackup_netbsd_amd64 Executable file

Binary file not shown.

BIN
bin/dbbackup_openbsd_amd64 Executable file

Binary file not shown.

BIN
bin/dbbackup_windows_amd64.exe Executable file

Binary file not shown.

BIN
bin/dbbackup_windows_arm64.exe Executable file

Binary file not shown.