@@ -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 ,
96
94
_ => null ,
97
95
} ;
98
96
99
97
if ( cloudProvider is null )
100
98
continue ;
101
99
102
100
var nextCloudValue = ( string ? ) namespaceSubKey ? . GetValue ( string . Empty ) ;
103
- var clsidDefaultValue = ( string ? ) clsidSubKey ? . 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 ) ;
104
104
105
105
using var defaultIconKey = clsidSubKey ? . OpenSubKey ( @"DefaultIcon" ) ;
106
106
var iconPath = ( string ? ) defaultIconKey ? . GetValue ( string . Empty ) ;
@@ -115,12 +115,10 @@ 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 ( clsidDefaultValue ) ? clsidDefaultValue : "ownCloud" ,
118
+ CloudProviders . ownCloud => ! string . IsNullOrEmpty ( ownCloudValue ) ? ownCloudValue : "ownCloud" ,
119
119
CloudProviders . ProtonDrive => $ "Proton Drive",
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" ,
120
+ CloudProviders . kDrive => ! string . IsNullOrEmpty ( kDriveValue ) ? kDriveValue : "kDrive" ,
121
+ CloudProviders . LucidLink => ! string . IsNullOrEmpty ( lucidLinkValue ) ? lucidLinkValue : "lucidLink" ,
124
122
_ => null
125
123
} ,
126
124
SyncFolder = syncedFolder ,
@@ -351,8 +349,6 @@ private static string GetDriveType(string driveIdentifier, RegistryKey? namespac
351
349
return "ownCloud" ;
352
350
if ( driveIdentifier . StartsWith ( "ProtonDrive" ) )
353
351
return "ProtonDrive" ;
354
- if ( driveIdentifier . StartsWith ( "SyncCom" ) )
355
- return "SyncCom" ;
356
352
357
353
// Nextcloud specific
358
354
var appNameFromNamespace = ( string ? ) namespaceSubKey ? . GetValue ( "ApplicationName" ) ;
0 commit comments