diff --git a/Assembly/ASMInfo.cs b/Assembly/ASMInfo.cs index e78eae4..3cad60a 100644 --- a/Assembly/ASMInfo.cs +++ b/Assembly/ASMInfo.cs @@ -6,7 +6,7 @@ using System.Reflection; [assembly: AssemblyCompany("ZNI")] [assembly: AssemblyAlgorithmId(System.Configuration.Assemblies.AssemblyHashAlgorithm.MD5)] [assembly: AssemblyCopyright("© 2020 Tara Piccari")] -[assembly: AssemblyFileVersion("5.1.965")] +[assembly: AssemblyFileVersion("5.1.966")] [assembly: AssemblyDescription("Second Life Bot - BotCore5")] @@ -15,7 +15,7 @@ namespace Bot.Assemble public class ASMInfo { public static string BotName = "ZBotCore"; - public static string BotVer = "5.1.965"; + public static string BotVer = "5.1.966"; public static string GitPassword { get diff --git a/Program.cs b/Program.cs index 6b6d82b..514b143 100644 --- a/Program.cs +++ b/Program.cs @@ -48,6 +48,9 @@ namespace Bot public static unsafe void Main(string[] args) { + if (File.Exists("Bot.lockfile")) Environment.Exit(0); + + File.WriteAllText("Bot.lockfile", "1"); Console.WriteLine("Setting up Main Configuration"); Log = new Logger("BotCore5"); BotSession.Instance.Logger = Log;