Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions arch-updater/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to Arch Updater are documented here. The panel's changelog
icon (the history icon next to Check) shows this same file.

## 2.0.2 - 2026-08-28

- Fixed: Update in terminal mode always failed on the Flatpak step, auto-declining its confirmation prompt with "n" (exit 1) even when nothing was typed. flatpak's prompt refuses to be interactive once its stdout isn't a real terminal, which is the case here since the whole run is piped into `tee` for the log; pacman/AUR prompts aren't affected by this. The Flatpak step now runs non-interactively (`-y --noninteractive`) in terminal mode too, same as background mode already did; pacman/AUR review stays fully interactive.

## 2.0.1 - 2026-08-21

- Added: a changelog view in the panel. Click the history icon next to Check to see what changed in each release. It also opens automatically once an update finishes, unless turned off in settings (Show changelog after updating).
Expand Down
2 changes: 1 addition & 1 deletion arch-updater/plugin.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id = "yuuto/arch-updater"
name = "Arch Updater"
version = "2.0.1"
version = "2.0.2"
plugin_api = 9
author = "yuuto"
license = "MIT"
Expand Down
7 changes: 6 additions & 1 deletion arch-updater/service.luau
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,12 @@ local function buildTerminalCommand()
table.insert(parts, "sudo pacman -Syu" .. ignoreFlag)
end
if cfg("flatpak_enabled") == true and noctalia.commandExists("flatpak") then
table.insert(parts, flatpakUpdateCommand(""))
-- flatpak's own Y/n prompt gates on isatty(stdout); since this whole
-- command is piped into `tee` for the log, flatpak sees a non-tty
-- stdout and auto-declines with "n" no matter what's typed
-- (flatpak/flatpak#4409). There's no real interactivity to preserve
-- here, so just make it non-interactive like the background mode.
table.insert(parts, flatpakUpdateCommand(" -y --noninteractive"))
end
return table.concat(parts, " && ")
end
Expand Down
Loading