Infomaniak / desktop-kDrive

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

Detect and display kDrive in third party file managers #182

Open yaira2 opened 1 month ago

yaira2 commented 1 month 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 1 month 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 1 month ago

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