mirror of
https://github.com/achiez/NebulaAuth-Steam-Desktop-Authenticator-by-Achies.git
synced 2026-07-26 06:41:45 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b8ac76d2a9 | |||
| b81d45765a | |||
| 372b8c6463 |
@@ -25,6 +25,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "changelog", "changelog", "{
|
||||
changelog\1.7.4.html = changelog\1.7.4.html
|
||||
changelog\1.8.0.html = changelog\1.8.0.html
|
||||
changelog\1.8.1.html = changelog\1.8.1.html
|
||||
changelog\1.8.2.html = changelog\1.8.2.html
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SteamLibForked", "src\SteamLibForked\SteamLibForked.csproj", "{224F9DB0-3D20-A614-BA2A-12F22B13A2C6}"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>1.8.1</version>
|
||||
<url>https://github.com/achiez/NebulaAuth-Steam-Desktop-Authenticator-by-Achies/releases/download/1.8.1/NebulaAuth.1.8.1.zip</url>
|
||||
<changelog>https://achiez.github.io/NebulaAuth-Steam-Desktop-Authenticator-by-Achies/changelog/1.8.1.html</changelog>
|
||||
<version>1.8.2</version>
|
||||
<url>https://github.com/achiez/NebulaAuth-Steam-Desktop-Authenticator-by-Achies/releases/download/1.8.2/NebulaAuth.1.8.2.zip</url>
|
||||
<changelog>https://achiez.github.io/NebulaAuth-Steam-Desktop-Authenticator-by-Achies/changelog/1.8.2.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
</item>
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Changelog</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
background-color: #eeeeee;
|
||||
color: #333;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.changelog-container {
|
||||
background-color: #fff;
|
||||
border-radius: 10px;
|
||||
padding: 25px;
|
||||
margin: 25px auto;
|
||||
max-width: 800px;
|
||||
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
.change {
|
||||
margin-bottom: 20px;
|
||||
padding: 0;
|
||||
border-left: 4px solid #a50ec7;
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
|
||||
.version {
|
||||
font-weight: 600;
|
||||
font-size: 1.5em;
|
||||
color: #a50ec7;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.date {
|
||||
font-style: italic;
|
||||
color: #888;
|
||||
margin-bottom: 10px;
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.description {
|
||||
font-size: 1em;
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
||||
.description ul {
|
||||
list-style: inside square;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 600px) {
|
||||
.changelog-container {
|
||||
width: 90%;
|
||||
margin: 25px auto;
|
||||
padding: 25px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="changelog-container">
|
||||
<div class="change">
|
||||
<div class="version">Version 1.8.2</div>
|
||||
<div class="date">10.02.2026</div>
|
||||
<div class="description">
|
||||
<ul>
|
||||
<li><b>FIX:</b> AutoConfirm timer now correctly resets the status after a successful request (Warning → Ok).</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -94,11 +94,16 @@ public static class MAACRequestHandler
|
||||
|
||||
private static void InformRequestSuccessful(Mafile mafile)
|
||||
{
|
||||
if (_errors.TryGetValue(mafile, out var data))
|
||||
if (_errors.TryGetValue(mafile, out var data) && data.Clear())
|
||||
{
|
||||
Shell.Logger.Info("MAAC request for {name} MAAC account succeeded, clearing error history.",
|
||||
Shell.Logger.Info("MAAC request for {name} MAAC account succeeded, error history cleared",
|
||||
mafile.AccountName);
|
||||
data.Clear();
|
||||
}
|
||||
|
||||
var client = mafile.LinkedClient;
|
||||
if (client != null && client.Status.StatusType != PortableMaClientStatusType.Ok)
|
||||
{
|
||||
client.SetStatus(PortableMaClientStatus.Ok());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -169,6 +174,4 @@ public static class MAACRequestHandler
|
||||
{
|
||||
return LocManager.GetCodeBehindOrDefault(key, LOC_PATH, "PortableMaClientStatus", key);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -58,7 +58,6 @@ public static class MultiAccountAutoConfirmer
|
||||
|
||||
private static async Task TimerConfirmInternal()
|
||||
{
|
||||
var clients = Lock.ReadLock(() => Clients.ToArray());
|
||||
var enabledClients = GetReadyAccounts();
|
||||
enabledClients = DistributeEvenly(enabledClients).ToArray();
|
||||
var confirmed = 0;
|
||||
@@ -121,15 +120,16 @@ public static class MultiAccountAutoConfirmer
|
||||
var res = new List<Mafile>();
|
||||
foreach (var maf in clients)
|
||||
{
|
||||
if(maf.LinkedClient == null) continue;
|
||||
if (maf.LinkedClient == null) continue;
|
||||
if (MAACRequestHandler.IsReady(maf))
|
||||
{
|
||||
res.Add(maf);
|
||||
}
|
||||
}
|
||||
return res;
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
public static bool TryAddToConfirm(Mafile mafile)
|
||||
{
|
||||
return Lock.WriteLock(() =>
|
||||
|
||||
@@ -23,10 +23,13 @@ public sealed class PortableMaClientErrorData
|
||||
Values[DateTime.UtcNow] = ex;
|
||||
}
|
||||
|
||||
public void Clear()
|
||||
public bool Clear()
|
||||
{
|
||||
if (NoErrors) return false;
|
||||
lock (_lock)
|
||||
Values.Clear();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public TimeSpan? GetTimeFromLastError()
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<SatelliteResourceLanguages>en;ru;ua</SatelliteResourceLanguages>
|
||||
<ApplicationIcon>Theme\lock.ico</ApplicationIcon>
|
||||
<SupportedOSPlatformVersion>7.0</SupportedOSPlatformVersion>
|
||||
<AssemblyVersion>1.8.1</AssemblyVersion>
|
||||
<AssemblyVersion>1.8.2</AssemblyVersion>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user