mirror of https://github.com/2dust/v2rayN
Refactor
parent
e2c836794b
commit
ce94e0ba4d
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue