EDDiscovery / EliteDangerousCore

Elite Dangerous specific submodule
Apache License 2.0
2 stars 18 forks source link

Work around Mono bug in FileSystemWatcher #125

Closed klightspeed closed 1 year ago

klightspeed commented 1 year ago

Mono running under Windows or Wine sets the Name in the FileSystemEventArgs to the absolute path of the file rather than the relative path, resulting in FullPath being an invalid path. Work around this by using Name if it's an absolute path.

This has been reported as https://github.com/mono/mono/issues/21677

robbyxp1 commented 1 year ago

Thanks