mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-06 17:10:13 +00:00
Ignore dot files in the configuration directory.
Various *nix-based editors create these as lock files when editing.
This commit is contained in:
@@ -279,7 +279,7 @@ namespace ArchiSteamFarm {
|
|||||||
}
|
}
|
||||||
|
|
||||||
string botName = Path.GetFileNameWithoutExtension(e.Name);
|
string botName = Path.GetFileNameWithoutExtension(e.Name);
|
||||||
if (string.IsNullOrEmpty(botName)) {
|
if (string.IsNullOrEmpty(botName) || botName.StartsWith(".")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -329,7 +329,7 @@ namespace ArchiSteamFarm {
|
|||||||
}
|
}
|
||||||
|
|
||||||
string botName = Path.GetFileNameWithoutExtension(e.Name);
|
string botName = Path.GetFileNameWithoutExtension(e.Name);
|
||||||
if (string.IsNullOrEmpty(botName)) {
|
if (string.IsNullOrEmpty(botName) || botName.StartsWith(".")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -393,7 +393,7 @@ namespace ArchiSteamFarm {
|
|||||||
}
|
}
|
||||||
|
|
||||||
string newBotName = Path.GetFileNameWithoutExtension(e.Name);
|
string newBotName = Path.GetFileNameWithoutExtension(e.Name);
|
||||||
if (string.IsNullOrEmpty(newBotName)) {
|
if (string.IsNullOrEmpty(newBotName) || newBotName.StartsWith(".")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user