mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2025-12-16 22:40:30 +00:00
Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d1ca1e9b2c | ||
|
|
178509eb21 | ||
|
|
2d6e8ed673 | ||
|
|
95eeba8e53 | ||
|
|
f0fbf318f4 | ||
|
|
4cb822cbf2 | ||
|
|
e1ad30ebe8 | ||
|
|
63b92bd4a9 | ||
|
|
c5de5cb1af | ||
|
|
71cf55be3f | ||
|
|
74a30a8215 | ||
|
|
db452a2da0 | ||
|
|
0b5d1211fa |
2
ASF-ui
2
ASF-ui
Submodule ASF-ui updated: 1f52d6a635...0586542cb0
@@ -311,9 +311,10 @@ namespace ArchiSteamFarm {
|
||||
|
||||
// ReSharper disable once AccessToDisposedClosure
|
||||
async () => await iPlayerService.CallAsync(
|
||||
HttpMethod.Get, "GetOwnedGames", args: new Dictionary<string, object>(3, StringComparer.Ordinal) {
|
||||
HttpMethod.Get, "GetOwnedGames", args: new Dictionary<string, object>(4, StringComparer.Ordinal) {
|
||||
{ "include_appinfo", 1 },
|
||||
{ "key", steamApiKey! },
|
||||
{ "skip_unvetted_apps", "0" },
|
||||
{ "steamid", steamID }
|
||||
}
|
||||
).ConfigureAwait(false)
|
||||
|
||||
@@ -248,11 +248,13 @@ namespace ArchiSteamFarm.IPC {
|
||||
#endif
|
||||
|
||||
// Add support for controllers declared in custom plugins
|
||||
HashSet<Assembly>? assemblies = PluginsCore.LoadAssemblies();
|
||||
if (PluginsCore.ActivePlugins?.Count > 0) {
|
||||
HashSet<Assembly>? assemblies = PluginsCore.LoadAssemblies();
|
||||
|
||||
if (assemblies != null) {
|
||||
foreach (Assembly assembly in assemblies) {
|
||||
mvc.AddApplicationPart(assembly);
|
||||
if (assemblies != null) {
|
||||
foreach (Assembly assembly in assemblies) {
|
||||
mvc.AddApplicationPart(assembly);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -736,6 +736,10 @@ Tempo de execução: {1}</value>
|
||||
<value>Resultado: {0}</value>
|
||||
<comment>{0} will be replaced by generic result of various functions that use this string</comment>
|
||||
</data>
|
||||
|
||||
|
||||
<data name="WarningUnsupportedEnvironment" xml:space="preserve">
|
||||
<value>Você está tentando executar a variante {0} do ASF em um ambiente não suportado: {1}. Forneça o arguimento --ignore-unsupported-environment se você realmente sabe o que está fazendo.</value>
|
||||
</data>
|
||||
<data name="WarningUnknownCommandLineArgument" xml:space="preserve">
|
||||
<value>Argumento de linha de comando desconhecido: {0}</value>
|
||||
</data>
|
||||
</root>
|
||||
|
||||
@@ -101,6 +101,20 @@ namespace ArchiSteamFarm.Plugins {
|
||||
|
||||
ASF.ArchiLogger.LogGenericInfo(string.Format(CultureInfo.CurrentCulture, Strings.Initializing, nameof(Plugins)));
|
||||
|
||||
foreach (Assembly assembly in assemblies) {
|
||||
ASF.ArchiLogger.LogGenericDebug(string.Format(CultureInfo.CurrentCulture, Strings.Initializing, assembly.FullName));
|
||||
|
||||
try {
|
||||
// This call is bare minimum to verify if the assembly can load itself
|
||||
assembly.GetTypes();
|
||||
} catch (Exception e) {
|
||||
ASF.ArchiLogger.LogGenericError(string.Format(CultureInfo.CurrentCulture, Strings.WarningFailedWithError, assembly.FullName));
|
||||
ASF.ArchiLogger.LogGenericException(e);
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
ConventionBuilder conventions = new();
|
||||
conventions.ForTypesDerivedFrom<IPlugin>().Export<IPlugin>();
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<Version>5.0.0.5</Version>
|
||||
<Version>5.0.1.0</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
|
||||
2
wiki
2
wiki
Submodule wiki updated: c9702b50e3...0f102a097b
Reference in New Issue
Block a user