do not allow to set paths containing onedrive

This commit is contained in:
rootdarkarchon
2024-02-22 02:10:06 +01:00
committed by Loporrit
parent e5f2264fb9
commit 336a2f3732

View File

@@ -610,6 +610,7 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase
&& Directory.Exists(path)
&& _isDirectoryWritable
&& !_isPenumbraDirectory
&& !_isOneDrive
&& !_cacheDirectoryHasOtherFilesThanCache
&& _cacheDirectoryIsValidPath)
{