From 336a2f3732b301f1714c6d031477371b7e1cf82f Mon Sep 17 00:00:00 2001 From: rootdarkarchon Date: Thu, 22 Feb 2024 02:10:06 +0100 Subject: [PATCH] do not allow to set paths containing onedrive --- MareSynchronos/UI/UISharedService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/MareSynchronos/UI/UISharedService.cs b/MareSynchronos/UI/UISharedService.cs index 14e5fd1..3ca8c73 100644 --- a/MareSynchronos/UI/UISharedService.cs +++ b/MareSynchronos/UI/UISharedService.cs @@ -610,6 +610,7 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase && Directory.Exists(path) && _isDirectoryWritable && !_isPenumbraDirectory + && !_isOneDrive && !_cacheDirectoryHasOtherFilesThanCache && _cacheDirectoryIsValidPath) {