From e7b6a314390d23666fc85f08c61f17d088554239 Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 24 Mar 2025 13:39:02 +0100 Subject: [PATCH] Update mido.sh --- src/mido.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mido.sh b/src/mido.sh index bbaa5c2..37e075b 100644 --- a/src/mido.sh +++ b/src/mido.sh @@ -93,6 +93,7 @@ download_windows() { # uuidgen: For MacOS (installed by default) and other systems (e.g. with no /proc) that don't have a kernel interface for generating random UUIDs session_id=$(cat /proc/sys/kernel/random/uuid 2> /dev/null || uuidgen --random) + session_id="${session_id//[![:print:]]/}" # Get product edition ID for latest release of given Windows version # Product edition ID: This specifies both the Windows release (e.g. 22H2) and edition ("multi-edition" is default, either Home/Pro/Edu/etc., we select "Pro" in the answer files) in one number