From f4fbb7dd29575096f9fae4ba45229bc481b72326 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Wed, 15 May 2024 02:11:55 +0100 Subject: [PATCH] fix(darwin): just use uuidgen to create session_id --- quickget | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/quickget b/quickget index 220c219..a736564 100755 --- a/quickget +++ b/quickget @@ -3149,8 +3149,7 @@ function download_windows_workstation() { esac local user_agent="Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0" - # 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="$(uuidgen)" # 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