Currently Nickvision.Desktop uses a bundled, prebuilt version of the sqlcipher library:
|
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlcipher" Version="2.1.11" /> |
Would it be possible to replace SQLitePCLRaw.bundle_e_sqlcipher with SQLitePCLRaw.provider.sqlcipher which uses libsqlcipher.so installed on the system? The only change needed is that SQLitePCL.raw.SetProvider(new SQLitePCL.SQLite3Provider_sqlcipher()); needs to be called somewhere during initialization.
I'm looking for packaging some Nickvision.Desktop based applications for a distribution, and using system libraries over bundled ones is preferred if possible.
Currently Nickvision.Desktop uses a bundled, prebuilt version of the sqlcipher library:
Desktop/Nickvision.Desktop/Nickvision.Desktop.csproj
Line 37 in c55d4f1
Would it be possible to replace
SQLitePCLRaw.bundle_e_sqlcipherwithSQLitePCLRaw.provider.sqlcipherwhich useslibsqlcipher.soinstalled on the system? The only change needed is thatSQLitePCL.raw.SetProvider(new SQLitePCL.SQLite3Provider_sqlcipher());needs to be called somewhere during initialization.I'm looking for packaging some Nickvision.Desktop based applications for a distribution, and using system libraries over bundled ones is preferred if possible.