Gracefully handle lack of the cookie

This commit is contained in:
orin committed 2023-11-08 23:58:39 +01:00
1 parent 1ef84cb879
commit 0477fd5fa6
6 files changed
+13 -4

No files matched your search

+4 -1
View File
@@ -362,8 +362,11 @@ XML;
// Composes POST data for fetching the latest update information from Windows Update
function composeFetchUpdRequest($arch, $flight, $ring, $build, $sku = 48, $type = 'Production', $flags = []) {
$device = uupDevice();
$encData = uupEncryptedData();
if($encData === false)
return false;
$device = uupDevice();
$uuid = genUUID();
$createdTime = time();