Merge pull request #22 from xPumaa/main
Compatibility for FileSystemWatchers under OSX
This commit is contained in:
@@ -63,6 +63,10 @@ namespace MareSynchronos
|
|||||||
_apiController = new ApiController(_configuration, _dalamudUtil);
|
_apiController = new ApiController(_configuration, _dalamudUtil);
|
||||||
_ipcManager = new IpcManager(PluginInterface, _dalamudUtil);
|
_ipcManager = new IpcManager(PluginInterface, _dalamudUtil);
|
||||||
|
|
||||||
|
// Compatibility for FileSystemWatchers under OSX
|
||||||
|
if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
|
||||||
|
Environment.SetEnvironmentVariable("MONO_MANAGED_WATCHER", "enabled");
|
||||||
|
|
||||||
_fileCacheManager = new FileCacheManager(_ipcManager, _configuration);
|
_fileCacheManager = new FileCacheManager(_ipcManager, _configuration);
|
||||||
_fileDialogManager = new FileDialogManager();
|
_fileDialogManager = new FileDialogManager();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user