Skip to content

Commit 7284a9d

Browse files
2 files | dump_javascript_protobufs.mjs, update.php
1 parent 1998166 commit 7284a9d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

dump_javascript_protobufs.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1903,6 +1903,8 @@ function EvaluateConstant(node) {
19031903
return -node.argument.value;
19041904
} else if (node.type === Syntax.Literal) {
19051905
return node.value;
1906+
} else if (node.type === Syntax.BinaryExpression) {
1907+
return "BinaryExpression";
19061908
}
19071909

19081910
throw new Error("Unexpected constant");

update.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ private function Fetch( array $URLs, int $WindowSize ) : void
696696
$LengthExpected = curl_getinfo( $Handle, CURLINFO_CONTENT_LENGTH_DOWNLOAD_T );
697697
$LengthDownload = curl_getinfo( $Handle, CURLINFO_SIZE_DOWNLOAD_T );
698698

699-
if( $LengthExpected !== $LengthDownload && !$IsSSR && $Request !== 'store.steampowered.com/mobile' )
699+
if( $LengthExpected !== $LengthDownload && !$IsSSR && $Request !== 'Random/SteamMobileApks.txt' )
700700
{
701701
$this->Log( '{lightred}Wrong Length {normal}(' . $LengthDownload . ' != ' . $LengthExpected . '){normal} - ' . $URL );
702702

0 commit comments

Comments
 (0)