mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 20:07:21 +01:00
Compatibility for FileSystemWatchers under OSX
This commit is contained in:
parent
2a2b0c3b57
commit
c5b85d9688
1 changed files with 4 additions and 0 deletions
|
|
@ -63,6 +63,10 @@ namespace MareSynchronos
|
|||
_apiController = new ApiController(_configuration, _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);
|
||||
_fileDialogManager = new FileDialogManager();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue