mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-06 17:10:13 +00:00
Add checksum
This commit is contained in:
@@ -25,6 +25,7 @@ using System.Collections.Generic;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.IO.Compression;
|
using System.IO.Compression;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using ArchiSteamFarm.IPC;
|
using ArchiSteamFarm.IPC;
|
||||||
@@ -674,6 +675,8 @@ namespace ArchiSteamFarm {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ArchiLogger.LogGenericInfo(string.Format(Strings.Checksum, Convert.ToBase64String(Encoding.UTF8.GetBytes(SharedInfo.ProgramIdentifier + ", " + botNames.Count))));
|
||||||
|
|
||||||
if (botNames.Count > MaximumRecommendedBotsCount) {
|
if (botNames.Count > MaximumRecommendedBotsCount) {
|
||||||
ArchiLogger.LogGenericWarning(string.Format(Strings.WarningExcessiveBotsCount, MaximumRecommendedBotsCount));
|
ArchiLogger.LogGenericWarning(string.Format(Strings.WarningExcessiveBotsCount, MaximumRecommendedBotsCount));
|
||||||
await Task.Delay(10000).ConfigureAwait(false);
|
await Task.Delay(10000).ConfigureAwait(false);
|
||||||
|
|||||||
389
ArchiSteamFarm/Localization/Strings.Designer.cs
generated
389
ArchiSteamFarm/Localization/Strings.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
@@ -737,4 +737,8 @@ StackTrace:
|
|||||||
<data name="IPCConfigChanged" xml:space="preserve">
|
<data name="IPCConfigChanged" xml:space="preserve">
|
||||||
<value>IPC config has been changed!</value>
|
<value>IPC config has been changed!</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Checksum" xml:space="preserve">
|
||||||
|
<value>Checksum: {0}</value>
|
||||||
|
<comment>{0} will be replaced with checksum (string)</comment>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
Reference in New Issue
Block a user