mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-06 13:48:57 +08:00
Update project files. Update nuget packages.
This commit is contained in:
@@ -118,10 +118,15 @@ namespace GameRes.Formats.CellWorks
|
||||
|
||||
public bool GetArchiveId (string db_name, out int arc_id)
|
||||
{
|
||||
m_conn.ConnectionString = string.Format ("Data Source={0};Read Only=true;", db_name);
|
||||
foreach (var password in IgsDatOpener.KnownPasswords)
|
||||
{
|
||||
m_conn.SetPassword (password);
|
||||
SQLiteConnectionStringBuilder csb = new SQLiteConnectionStringBuilder()
|
||||
{
|
||||
DataSource = db_name,
|
||||
ReadOnly = true,
|
||||
Password = password
|
||||
};
|
||||
m_conn.ConnectionString = csb.ConnectionString;
|
||||
m_conn.Open();
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user