pull/4711/head
2dust 2024-02-08 16:22:38 +08:00
parent e2c836794b
commit ce94e0ba4d
2 changed files with 2 additions and 2 deletions

View File

@ -11,10 +11,11 @@ namespace v2rayN
private SQLiteConnection _db;
private SQLiteAsyncConnection _dbAsync;
private static readonly object objLock = new();
public const string _configDB = "guiNDB.db";
public SqliteHelper()
{
_connstr = Utils.GetConfigPath(Global.ConfigDB);
_connstr = Utils.GetConfigPath(_configDB);
_db = new SQLiteConnection(_connstr, false);
_dbAsync = new SQLiteAsyncConnection(_connstr, false);
}

View File

@ -30,7 +30,6 @@ namespace v2rayN
public const string PromotionUrl = @"aHR0cHM6Ly85LjIzNDQ1Ni54eXovYWJjLmh0bWw=";
public const string ConfigFileName = "guiNConfig.json";
public const string ConfigDB = "guiNDB.db";
public const string CoreConfigFileName = "config.json";
public const string CorePreConfigFileName = "configPre.json";
public const string CoreSpeedtestConfigFileName = "configSpeedtest.json";