Skip to content

v1.8.0

Choose a tag to compare

@github-actions github-actions released this 31 Aug 16:36
· 40 commits to main since this release

1.8.0

Changed

  • odm update delegates to install.sh via subprocess — instead of downloading
    and replacing the binary internally (which fails on Termux due to TLS/DNS issues),
    odm update now downloads install.sh and executes it in update mode. This unifies
    the update path across all non-AUR platforms and leverages curl (system DNS/certs).
    (internal/update/update.go)
  • CheckLatest() uses curl instead of Go HTTP client — avoids TLS certificate
    verification failures caused by Go's pure-Go DNS resolver on Android/Termux.
    (internal/update/update.go)

Added

  • --update flag and ODM_UPDATE env var for install.sh — install.sh now
    accepts --update flag (or ODM_UPDATE=1 env var for curl|sh pipeline fallback)
    to enable update mode: auto-proceeds past confirmation, shows "Updating" messages
    instead of "Installing", skips config install and PATH warnings.
    (docs/public/install.sh)

Fixed

  • Progress bar invisible until Enter/new line and stacked lines — when stdout
    is block-buffered (piped, wrapped, or fully buffered stdio) the pacman bar's
    writes stayed invisible until a newline flushed the buffer, causing stacked
    37.3K/? lines and requiring Enter to appear. The renderer now flushes after
    every frame (Begin/End/Frame/Interject) and prefers the TTY writer
    (stderr when stdout is piped) so the bar is live immediately.
    (internal/ui/progress.go, cmd/odm/main.go)
  • Temp directory resolution for Termux — runInstallScript() now resolves the
    temp directory via $TMPDIR → os.TempDir() → ~/.odm-tmp fallback chain,
    avoiding Termux's /tmp symlink which may not exist or be writable.
    (internal/update/update.go)