1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-11 22:19:00 +00:00

add AI agent documentation, improve Touch ID testing, and update version.

This commit is contained in:
Tw93
2025-12-12 15:31:23 +08:00
parent 4ff20ff4e5
commit 1896ddd348
12 changed files with 193 additions and 15 deletions

View File

@@ -60,7 +60,7 @@ show_status() {
enable_touchid() {
# Cleanup trap
local temp_file=""
trap '[[ -n "$temp_file" ]] && rm -f "$temp_file"' EXIT
trap '[[ -n "${temp_file:-}" ]] && rm -f "${temp_file:-}"' EXIT
# First check if system supports Touch ID
if ! supports_touchid; then
@@ -122,7 +122,7 @@ enable_touchid() {
disable_touchid() {
# Cleanup trap
local temp_file=""
trap '[[ -n "$temp_file" ]] && rm -f "$temp_file"' EXIT
trap '[[ -n "${temp_file:-}" ]] && rm -f "${temp_file:-}"' EXIT
if ! is_touchid_configured; then
echo -e "${YELLOW}Touch ID is not currently enabled${NC}"