steamutils 1.4.91 → 1.4.93
Sign up to get free protection for your applications and to get access to all the features.
- package/SteamClient.js +3174 -3167
- package/create_remote_file.js +8 -2
- package/package.json +1 -1
- package/remote.js +8 -2
package/create_remote_file.js
CHANGED
@@ -57,10 +57,16 @@ function getAppURL() {
|
|
57
57
|
RemoteSteamUser.__appIndex = 0;
|
58
58
|
}
|
59
59
|
RemoteSteamUser.__appIndex++;
|
60
|
-
|
60
|
+
|
61
|
+
if (!RemoteSteamUser.__apps__half) {
|
62
|
+
const half = Math.ceil(RemoteSteamUser.__apps.length / 2);
|
63
|
+
RemoteSteamUser.__apps__half = new Date().getDate() > 15 ? RemoteSteamUser.__apps.slice(0, half) : RemoteSteamUser.__apps.slice(half);
|
64
|
+
}
|
65
|
+
|
66
|
+
if (RemoteSteamUser.__appIndex >= RemoteSteamUser.__apps__half.length) {
|
61
67
|
RemoteSteamUser.__appIndex = 0;
|
62
68
|
}
|
63
|
-
return RemoteSteamUser.
|
69
|
+
return RemoteSteamUser.__apps__half[RemoteSteamUser.__appIndex];
|
64
70
|
}
|
65
71
|
|
66
72
|
function formatParams(__params, __cookies) {
|
package/package.json
CHANGED
package/remote.js
CHANGED
@@ -7,10 +7,16 @@ function getAppURL() {
|
|
7
7
|
RemoteSteamUser.__appIndex = 0;
|
8
8
|
}
|
9
9
|
RemoteSteamUser.__appIndex++;
|
10
|
-
|
10
|
+
|
11
|
+
if (!RemoteSteamUser.__apps__half) {
|
12
|
+
const half = Math.ceil(RemoteSteamUser.__apps.length / 2);
|
13
|
+
RemoteSteamUser.__apps__half = new Date().getDate() > 15 ? RemoteSteamUser.__apps.slice(0, half) : RemoteSteamUser.__apps.slice(half);
|
14
|
+
}
|
15
|
+
|
16
|
+
if (RemoteSteamUser.__appIndex >= RemoteSteamUser.__apps__half.length) {
|
11
17
|
RemoteSteamUser.__appIndex = 0;
|
12
18
|
}
|
13
|
-
return RemoteSteamUser.
|
19
|
+
return RemoteSteamUser.__apps__half[RemoteSteamUser.__appIndex];
|
14
20
|
}
|
15
21
|
|
16
22
|
function formatParams(__params, __cookies) {
|