Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Feb 8, 2024
1 parent e2c8367 commit ce94e0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion v2rayN/v2rayN/Common/SqliteHelper.cs
Expand Up @@ -11,10 +11,11 @@ public sealed class SqliteHelper
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);
}
Expand Down
1 change: 0 additions & 1 deletion v2rayN/v2rayN/Global.cs
Expand Up @@ -30,7 +30,6 @@ internal class Global

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";
Expand Down

0 comments on commit ce94e0b

Please sign in to comment.