Skip to content

LazyStack v1.5.2

Choose a tag to compare

@Ian-nwb Ian-nwb released this 24 Nov 08:03
· 56 commits to main since this release

Fixed

  • Auto-install failed on Linux for every apt, dnf and pacman package. LazyStack ran sudo without a terminal, so it stopped with "a terminal is required to read the password". It now:
    • runs as root if it already is, or uses passwordless/cached sudo -n;
    • otherwise asks for your password with the desktop's pkexec prompt;
    • and if neither is possible, shows the exact command to run in a terminal.
  • Linux package manager detection no longer depends on which. apt-get update runs before apt installs, so fresh systems no longer fail with "Unable to locate package".
  • Package names that don't exist in distro repos were fixed after checking every recipe against Ubuntu 22.04/24.04, Debian 12/13, Fedora 45 and Arch:
    • Docker Compose, Java, Fedora's Docker and npm.
    • .NET now installs SDK 9, which the templates need (it was SDK 8).
    • Dart, sbt, Gradle, Gleam, Flutter, V, Nim and Julia fall back to user-level installers when the package manager can't install them.
  • Windows: winget hung on its agreement prompt. Installs now pass --id <Id> -e --accept-source-agreements --accept-package-agreements --silent. Wrong winget IDs were fixed (Elixir, Nim, Cabal, Swift, Julia, .NET). Tools with no winget package (Maven, Gradle, Composer, GHC, Flutter, V) now link to their install pages.
  • Windows: adding a folder to PATH could truncate your PATH. setx PATH "%PATH%;dir" was replaced by an edit of the user PATH only.
  • Windows: successful installs showed as "not found in PATH". LazyStack now reads PATH from the registry after installing.
  • Tools that install but fail their version check (e.g. .NET without libicu, Gradle without Java) report the real error. Tools with no recipe for your package manager say so and link their install page.

Windows changes were not run on Windows; the Linux installer was tested in Ubuntu, Debian, Fedora and Arch containers. Full notes: CHANGELOG.md.