Repository navigation
v1.8.0
1.8.0
Changed
odm updatedelegates to install.sh via subprocess — instead of downloading
and replacing the binary internally (which fails on Termux due to TLS/DNS issues),
odm updatenow 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
--updateflag andODM_UPDATEenv var for install.sh — install.sh now
accepts--updateflag (orODM_UPDATE=1env 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
(stderrwhenstdoutis 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-tmpfallback chain,
avoiding Termux's/tmpsymlink which may not exist or be writable.
(internal/update/update.go)