1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-05 23:43:01 +00:00

Repair the password input of the box lid scene

This commit is contained in:
Tw93
2025-11-25 16:43:41 +08:00
parent f52ed37bf2
commit 54c857be4b
4 changed files with 140 additions and 148 deletions

View File

@@ -16,6 +16,10 @@ _start_sudo_keepalive() {
# Start background keepalive process with all outputs redirected
# This is critical: command substitution waits for all file descriptors to close
(
# Initial delay to let sudo cache stabilize after password entry
# This prevents immediately triggering Touch ID again
sleep 2
local retry_count=0
while true; do
if ! sudo -n -v 2> /dev/null; then