Storage - Keep up to 5 backups of the database

Layouts - Prevent LEDs from going outside the layout bounds
This commit is contained in:
Robert committed 2021-06-07 22:20:44 +02:00
1 parent 033e94bc58
commit bab566a2b9
6 files changed
+97 -24

No files matched your search

+3
View File
@@ -4,6 +4,7 @@ using System.Threading;
using Artemis.Core;
using Artemis.Core.Ninject;
using Artemis.Core.Services;
using Artemis.Storage;
using Ninject;
namespace Artemis.UI.Console
@@ -28,6 +29,8 @@ namespace Artemis.UI.Console
private static void Main(string[] args)
{
StorageManager.CreateBackup(Constants.DataFolder);
Utilities.PrepareFirstLaunch();
Utilities.ShutdownRequested += UtilitiesOnShutdownRequested;
StandardKernel kernel = new() {Settings = {InjectNonPublic = true}};