do not allow to set paths containing onedrive
This commit is contained in:
@@ -610,6 +610,7 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase
|
|||||||
&& Directory.Exists(path)
|
&& Directory.Exists(path)
|
||||||
&& _isDirectoryWritable
|
&& _isDirectoryWritable
|
||||||
&& !_isPenumbraDirectory
|
&& !_isPenumbraDirectory
|
||||||
|
&& !_isOneDrive
|
||||||
&& !_cacheDirectoryHasOtherFilesThanCache
|
&& !_cacheDirectoryHasOtherFilesThanCache
|
||||||
&& _cacheDirectoryIsValidPath)
|
&& _cacheDirectoryIsValidPath)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user