Infomaniak / desktop-kDrive

:computer: Desktop Syncing Client for kDrive
GNU General Public License v3.0
29 stars 5 forks source link

Detect and display kDrive in third party file managers #182

Closed yaira2 closed 2 months ago

yaira2 commented 4 months ago

Note: Please write your issue only in english

Is your feature request related to a problem? Please describe. Hope all is well! We're looking to add support for kDrive in Files (https://files.community) and we wanted to check with you on the best way to do this.

Describe the solution you'd like to implement Ideally, we would verify the installation of kDrive, and upon confirmation, retrieve its path to display in the cloud drives segment of our sidebar

Additional context https://github.com/files-community/Files/issues/15475

image

ChristopheLarchier commented 4 months ago

Hello, Thanks for integrating kDrive into your product!

"we would verify the installation of kDrive" => You can use the following PowerShell command.

PS C:\Users\Chris> get-package -Name kDrive

Name                           Version          Source                           ProviderName
----                           -------          ------                           ------------
kDrive                         3.6.0                                             Programs

"retrieve its path to display in the cloud drives segment of our sidebar" => Are you talking about the path of the app or the synchronized folders? The exe path is: C:\Program Files (x86)\kDrive\kDrive.exe

You can find the synchronized folders by browsing Windows Registry keys in "Computer\HKEY_CURRENT_USER\Software\Classes\CLSID" and filter on "kDrive". The folder path is the value of the key "targetFolderPath" in "Computer\HKEY_CURRENT_USER\Software\Classes\CLSID\\Instance\InitPropertyBag"

yaira2 commented 4 months ago

Thank you! We're looking for the path of the synchronized folders.

luc-guyot-infomaniak commented 2 months ago

@yaira2 Did you get all the information you need?

yaira2 commented 2 months ago

@luc-guyot-infomaniak I believe so, support for kDrive has just been merged into Files and will be included in our next release. https://github.com/files-community/Files/pull/16069