Repository navigation
One-line install, live install progress, and hardened apt calls - #9
Merged
Merged
Conversation
- One-line install: both scripts now work piped from curl. Prompts read from /dev/tty (stdin is the script itself when piped), and new flags (--de, --wine/--no-wine, --hacs/--no-hacs, -y, --help) allow fully unattended installs. - Spinner shows elapsed time and the latest apt log line, and warns once if nothing moves for 5 minutes, so a long download no longer looks like a hang (refs #7). - Every apt call gets network retries/timeouts, a dpkg lock timeout and confdef/confold, and stdin from /dev/null so nothing can block on a prompt. - Wine step only removes wine-stable when it is installed, via apt-get instead of the pkg wrapper. - Desktop script warns on non-arm64 and low storage; both scripts refuse to run outside Termux; wake lock is released on any exit or Ctrl+C. - HA script: real install-status check (dpkg -s matches removed packages), network check that does not depend on pinging google.com, stop script uses $PREFIX and only kills the hass process. - CI: shellcheck at warning level plus a CLI smoke test. - README: quick-start one-liner, unattended flags, "install looks stuck" and Android 12+ phantom process killer troubleshooting, FAQ, unshittify.dev badge (#8). Chinese README updated to match. - Bug template asks which step it stopped at and whether Wine was chosen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H15noZPfLdvcWEpDJ1sSrQ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
One-line install + unattended flags
curl -fsSL … | bash. When the script is piped in, stdin is the script itself, so prompts now read from/dev/tty. Before this, a barereadwould have swallowed the rest of the script.--de xfce|lxqt|mate|kde,--wine/--no-wine(desktop),--hacs/--no-hacs(HA),-y,--help. With-y, or with no terminal at all, every choice uses the defaults.Install no longer looks frozen (refs #7)
Get:12 … [74.1 MB],Unpacking …). After 5 minutes with no log output it prints a warning once, with what to do next.Acquire::Retries=3, 30 s HTTP timeouts,DPkg::Lock::Timeout=300,confdef+confold, and stdin from/dev/null. A stalled mirror now retries or fails, and no prompt can block the install.wine-stablewhen it is actually installed, and usesapt-get. It used to run thepkgwrapper unconditionally.Other fixes
dpkg -salso matches removed-but-not-purged packages.stop-homeassistant.shuses$PREFIXand kills only the hass process.Docs / repo
Testing
bash -nandshellcheck --severity=warningare clean on both scripts.cat script | bash -s -- …) parses flags and stops at the Termux check.setup_environmenttested with--de kde --wineunder no TTY: picks KDE, Wine, 11 steps.Closes #8. Refs #7: it is not confirmed fixed, because the report has no log.
Generated by Claude Code