Add Joplin, old Mac, and Fedora WiFi runbooks; simplify JA3 Whisky scripts and hotspot recovery.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -70,3 +70,18 @@ tell application "System Events"
|
||||
end repeat
|
||||
end tell' 2>/dev/null || true
|
||||
}
|
||||
|
||||
# Только GOG-Install bottle — не трогает другие bottles.
|
||||
gog_kill_whisky_bottle() {
|
||||
pkill -9 -f "${BOTTLE_DIR}.*JA3\.exe" 2>/dev/null || true
|
||||
pkill -9 -f "${BOTTLE_DIR}.*GalaxyClient" 2>/dev/null || true
|
||||
pkill -9 -f "${BOTTLE_DIR}.*wineserver" 2>/dev/null || true
|
||||
pkill -9 -f "${BOTTLE_DIR}.*wine64-preloader" 2>/dev/null || true
|
||||
sleep 1
|
||||
if [[ -d "${BOTTLE_DIR}" ]]; then
|
||||
export WINEPREFIX="${BOTTLE_DIR}"
|
||||
[[ -x "${WINE_SERV}" ]] && "${WINE_SERV}" -k 2>/dev/null || true
|
||||
sleep 1
|
||||
gog_remove_lock_files
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user