Move sqlite batteries to osu.Desktop

Fixes e_sqlite.dll not being copied to output on Windows
This commit is contained in:
smoogipoo
2017-11-21 15:33:05 +09:00
parent 538acadd23
commit a66edea6dc
4 changed files with 5 additions and 7 deletions

View File

@ -15,6 +15,9 @@ namespace osu.Desktop
[STAThread]
public static int Main(string[] args)
{
// required to initialise native SQLite libraries on some platforms.
SQLitePCL.Batteries_V2.Init();
// Back up the cwd before DesktopGameHost changes it
var cwd = Environment.CurrentDirectory;