do not allow to set paths containing onedrive

This commit is contained in:
rootdarkarchon
2025-02-09 16:02:34 +00:00
committed by Loporrit
parent e5f2264fb9
commit 336a2f3732
+1
View File
@@ -610,6 +610,7 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase
&& Directory.Exists(path)
&& _isDirectoryWritable
&& !_isPenumbraDirectory
&& !_isOneDrive
&& !_cacheDirectoryHasOtherFilesThanCache
&& _cacheDirectoryIsValidPath)
{