1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 16:49:41 +00:00

Optimize unit tests and check for errors

This commit is contained in:
Tw93
2025-12-28 19:59:44 +08:00
parent 66ad3b34ee
commit 4a626f9337
3 changed files with 405 additions and 0 deletions

View File

@@ -259,6 +259,7 @@ scan_applications() {
# Start a background spinner that reads progress from file
local spinner_pid=""
(
# shellcheck disable=SC2329 # Function invoked indirectly via trap
cleanup_spinner() { exit 0; }
trap cleanup_spinner TERM INT EXIT
local spinner_chars="|/-\\"