mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 20:06:33 +00:00
Modules - Added IsActivatedOverride which indicates exactly that
Core - During creation ensure all local users can access the data folder Core - Wrap exceptions during module enable/disable in PluginExceptions
This commit is contained in:
1 parent
6672b1d6b0
commit
cf87410a50
4 files changed
+65
-16
No files matched your search
@@ -1,4 +1,6 @@
|
||||
using System.IO;
|
||||
using System.Security.AccessControl;
|
||||
using System.Security.Principal;
|
||||
using Artemis.Core.Exceptions;
|
||||
using Artemis.Core.Plugins.Settings;
|
||||
using Artemis.Core.Services.Interfaces;
|
||||
@@ -44,10 +46,6 @@ namespace Artemis.Core.Ninject
|
||||
|
||||
Kernel.Bind<LiteRepository>().ToMethod(t =>
|
||||
{
|
||||
// Ensure the data folder exists
|
||||
if (!Directory.Exists(Constants.DataFolder))
|
||||
Directory.CreateDirectory(Constants.DataFolder);
|
||||
|
||||
try
|
||||
{
|
||||
return new LiteRepository(Constants.ConnectionString);
|
||||
|
||||
Reference in new issue
Block a user