cryptomator / cryptomator-win

Cryptomator .exe installer for Windows
GNU General Public License v3.0
21 stars 12 forks source link

Package dokan1.dll with installer #7

Closed overheadhunter closed 6 years ago

overheadhunter commented 6 years ago

As described in the Dokany wiki:

it is highly recommended embedding the dokan1.dll in your application folder. Doing this will retain compatibility of your application with all MAJOR versions equal to the library you embed.

By bundling the .dll ourselves, we just need to check if the right driver is installed at C:\Windows\System32\drivers\dokan1.sys and can be sure all dependencies are met.

We might also need to set the jna.library.path system property.