@@ -91,16 +91,16 @@ private static Task<IEnumerable<ICloudProvider>> DetectGenericCloudDrive()
91
91
"ProtonDrive" => CloudProviders . ProtonDrive ,
92
92
"kDrive" => CloudProviders . kDrive ,
93
93
"Lucid" => CloudProviders . LucidLink ,
94
+ "SyncCom" => CloudProviders . SyncDrive ,
95
+ "MagentaCLOUD" => CloudProviders . MagentaCloud ,
94
96
_ => null ,
95
97
} ;
96
98
97
99
if ( cloudProvider is null )
98
100
continue ;
99
101
100
102
var nextCloudValue = ( string ? ) namespaceSubKey ? . GetValue ( string . Empty ) ;
101
- var ownCloudValue = ( string ? ) clsidSubKey ? . GetValue ( string . Empty ) ;
102
- var kDriveValue = ( string ? ) clsidSubKey ? . GetValue ( string . Empty ) ;
103
- var lucidLinkValue = ( string ? ) clsidSubKey ? . GetValue ( string . Empty ) ;
103
+ var clsidDefaultValue = ( string ? ) clsidSubKey ? . GetValue ( string . Empty ) ;
104
104
105
105
using var defaultIconKey = clsidSubKey ? . OpenSubKey ( @"DefaultIcon" ) ;
106
106
var iconPath = ( string ? ) defaultIconKey ? . GetValue ( string . Empty ) ;
@@ -115,10 +115,12 @@ private static Task<IEnumerable<ICloudProvider>> DetectGenericCloudDrive()
115
115
CloudProviders . AppleCloudDrive => $ "iCloud Drive",
116
116
CloudProviders . AppleCloudPhotos => $ "iCloud Photos",
117
117
CloudProviders . AdobeCreativeCloud => $ "Creative Cloud Files",
118
- CloudProviders . ownCloud => ! string . IsNullOrEmpty ( ownCloudValue ) ? ownCloudValue : "ownCloud" ,
118
+ CloudProviders . ownCloud => ! string . IsNullOrEmpty ( clsidDefaultValue ) ? clsidDefaultValue : "ownCloud" ,
119
119
CloudProviders . ProtonDrive => $ "Proton Drive",
120
- CloudProviders . kDrive => ! string . IsNullOrEmpty ( kDriveValue ) ? kDriveValue : "kDrive" ,
121
- CloudProviders . LucidLink => ! string . IsNullOrEmpty ( lucidLinkValue ) ? lucidLinkValue : "lucidLink" ,
120
+ CloudProviders . kDrive => ! string . IsNullOrEmpty ( clsidDefaultValue ) ? clsidDefaultValue : "kDrive" ,
121
+ CloudProviders . LucidLink => ! string . IsNullOrEmpty ( clsidDefaultValue ) ? clsidDefaultValue : "lucidLink" ,
122
+ CloudProviders . SyncDrive => ! string . IsNullOrEmpty ( clsidDefaultValue ) ? clsidDefaultValue : "Sync" ,
123
+ CloudProviders . MagentaCloud => ! string . IsNullOrEmpty ( clsidDefaultValue ) ? clsidDefaultValue : "MagentaCLOUD" ,
122
124
_ => null
123
125
} ,
124
126
SyncFolder = syncedFolder ,
@@ -349,6 +351,8 @@ private static string GetDriveType(string driveIdentifier, RegistryKey? namespac
349
351
return "ownCloud" ;
350
352
if ( driveIdentifier . StartsWith ( "ProtonDrive" ) )
351
353
return "ProtonDrive" ;
354
+ if ( driveIdentifier . StartsWith ( "SyncCom" ) )
355
+ return "SyncCom" ;
352
356
353
357
// Nextcloud specific
354
358
var appNameFromNamespace = ( string ? ) namespaceSubKey ? . GetValue ( "ApplicationName" ) ;
0 commit comments