Addresses the three non-blocking notes from #292: - README's plugin_api requirement was stale (22) vs the manifest's real minimum (17, the onExit lifecycle addition) — corrected, and pinned the noctalia version floor to beta.7 (the first tagged release plugin_api actually reaches 17 in). - apply()'s privilege path ran the whole discovery+mutate script through `priv sh -c '...'`, which the documented sudoers rule (NOPASSWD: /usr/bin/nmcli) never covers — sudo -n always failed. Now the privilege prefix is applied to each of the two mutating nmcli calls individually, never to a wrapping shell. - Regenerated thumbnail.webp. Co-authored-by: nightwatch75 <nightwatch75@users.noreply.github.com>
This commit is contained in:
co-authored by
nightwatch75
parent
b9d21951ec
commit
f222cdee2b
@@ -4,8 +4,8 @@
|
||||
-- "apply_request" entries this panel emits. Picking a provider applies it
|
||||
-- immediately (one nmcli change, no reactivation).
|
||||
|
||||
local STATE_KEY = "dns_state"
|
||||
local REQUEST_KEY = "apply_request"
|
||||
local STATE_KEY = "dns_state" -- published by service.luau
|
||||
local REQUEST_KEY = "apply_request" -- consumed by service.luau
|
||||
|
||||
local RESOLVE_TIMEOUT_MS = 4000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user