mirror of
https://github.com/tw93/Mole.git
synced 2026-02-16 18:45:17 +00:00
Fix handing issue on macOS Sequoia after completing 1 task (#291)
This commit is contained in:
5
mole
5
mole
@@ -81,6 +81,7 @@ check_for_updates() {
|
||||
ensure_user_dir "$(dirname "$msg_cache")"
|
||||
ensure_user_file "$msg_cache"
|
||||
|
||||
(
|
||||
(
|
||||
local latest
|
||||
|
||||
@@ -94,8 +95,8 @@ check_for_updates() {
|
||||
else
|
||||
echo -n > "$msg_cache"
|
||||
fi
|
||||
) &
|
||||
disown 2> /dev/null || true
|
||||
) > /dev/null 2>&1 < /dev/null &
|
||||
)
|
||||
}
|
||||
|
||||
show_update_notification() {
|
||||
|
||||
Reference in New Issue
Block a user