mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-06 17:10:13 +00:00
Add note about pre-release versions
This commit is contained in:
@@ -121,7 +121,13 @@ namespace ArchiSteamFarm {
|
|||||||
|
|
||||||
ArchiLogger.LogGenericInfo(string.Format(Strings.UpdateVersionInfo, SharedInfo.Version, newVersion));
|
ArchiLogger.LogGenericInfo(string.Format(Strings.UpdateVersionInfo, SharedInfo.Version, newVersion));
|
||||||
|
|
||||||
if (SharedInfo.Version.CompareTo(newVersion) >= 0) { // If local version is the same or newer than remote version
|
if (SharedInfo.Version == newVersion) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (SharedInfo.Version > newVersion) {
|
||||||
|
ArchiLogger.LogGenericWarning(Strings.WarningPreReleaseVersion);
|
||||||
|
await Task.Delay(15 * 1000).ConfigureAwait(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -143,7 +149,7 @@ namespace ArchiSteamFarm {
|
|||||||
}
|
}
|
||||||
|
|
||||||
string exeFileName = Path.GetFileName(exeFile);
|
string exeFileName = Path.GetFileName(exeFile);
|
||||||
GitHub.ReleaseResponse.Asset binaryAsset = releaseResponse.Assets.FirstOrDefault(asset => !string.IsNullOrEmpty(asset.Name) && asset.Name.Equals(exeFileName, StringComparison.OrdinalIgnoreCase));
|
GitHub.ReleaseResponse.Asset binaryAsset = releaseResponse.Assets.FirstOrDefault(asset => asset.Name.Equals(exeFileName, StringComparison.OrdinalIgnoreCase));
|
||||||
|
|
||||||
if (binaryAsset == null) {
|
if (binaryAsset == null) {
|
||||||
ArchiLogger.LogGenericWarning(Strings.ErrorUpdateNoAssetForThisBinary);
|
ArchiLogger.LogGenericWarning(Strings.ErrorUpdateNoAssetForThisBinary);
|
||||||
|
|||||||
11
ArchiSteamFarm/Localization/Strings.Designer.cs
generated
11
ArchiSteamFarm/Localization/Strings.Designer.cs
generated
@@ -47,7 +47,7 @@ namespace ArchiSteamFarm.Localization {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Zastępuje właściwość CurrentUICulture bieżącego wątku dla wszystkich
|
/// Przesłania właściwość CurrentUICulture bieżącego wątku dla wszystkich
|
||||||
/// przypadków przeszukiwania zasobów za pomocą tej klasy zasobów wymagającej zdefiniowania typu.
|
/// przypadków przeszukiwania zasobów za pomocą tej klasy zasobów wymagającej zdefiniowania typu.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
@@ -1422,6 +1422,15 @@ namespace ArchiSteamFarm.Localization {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Wyszukuje zlokalizowany ciąg podobny do ciągu You're using a version that is newer than latest released version for your update channel. Please note that pre-release versions are dedicated to users who know how to report bugs, deal with issues and give feedback - no technical support will be given..
|
||||||
|
/// </summary>
|
||||||
|
internal static string WarningPreReleaseVersion {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("WarningPreReleaseVersion", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Wyszukuje zlokalizowany ciąg podobny do ciągu Please review our privacy policy section on the wiki if you're concerned about what ASF is in fact doing!.
|
/// Wyszukuje zlokalizowany ciąg podobny do ciągu Please review our privacy policy section on the wiki if you're concerned about what ASF is in fact doing!.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -688,4 +688,7 @@ StackTrace:
|
|||||||
<data name="ErrorAccessDenied" xml:space="preserve">
|
<data name="ErrorAccessDenied" xml:space="preserve">
|
||||||
<value>Access denied!</value>
|
<value>Access denied!</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="WarningPreReleaseVersion" xml:space="preserve">
|
||||||
|
<value>You're using a version that is newer than latest released version for your update channel. Please note that pre-release versions are dedicated to users who know how to report bugs, deal with issues and give feedback - no technical support will be given.</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
Reference in New Issue
Block a user