public static bool UpdateBaseFiles()
{
var baseFilePath = GetApplicationFilePath();
var appFilePath = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);
foreach (var filename in CoreSpaceEngineersFiles)
{
var sourceFile = Path.Combine(baseFilePath, filename);
if (File.Exists(sourceFile))
{
File.Copy(sourceFile, Path.Combine(appFilePath, filename), true);
}
}
return true;
}