File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -484,8 +484,9 @@ private void EnsureDatabase()
484484 }
485485 }
486486 Directory . CreateDirectory ( Path . GetDirectoryName ( path ) ! ) ;
487- _connection = new SqliteConnection ( new SqliteConnectionStringBuilder ( $ "Data Source=' { path } '" )
487+ _connection = new SqliteConnection ( new SqliteConnectionStringBuilder ( )
488488 {
489+ DataSource = path ,
489490 Mode = SqliteOpenMode . ReadWriteCreate ,
490491 Password = secret ?? string . Empty ,
491492 Pooling = false
@@ -536,8 +537,9 @@ private async Task EnsureDatabaseAsync()
536537 }
537538 }
538539 Directory . CreateDirectory ( Path . GetDirectoryName ( path ) ! ) ;
539- _connection = new SqliteConnection ( new SqliteConnectionStringBuilder ( $ "Data Source=' { path } '" )
540+ _connection = new SqliteConnection ( new SqliteConnectionStringBuilder ( )
540541 {
542+ DataSource = path ,
541543 Mode = SqliteOpenMode . ReadWriteCreate ,
542544 Password = secret ?? string . Empty ,
543545 Pooling = false
Original file line number Diff line number Diff line change @@ -142,8 +142,9 @@ private async Task EnsureTableAsync()
142142 _logger . LogDebug ( $ "Deleted old keyring ring2 file ({ ring2Path } ).") ;
143143 return ;
144144 }
145- var oldCredentialDb = new SqliteConnection ( new SqliteConnectionStringBuilder ( $ "Data Source=' { ring2Path } '" )
145+ var oldCredentialDb = new SqliteConnection ( new SqliteConnectionStringBuilder ( )
146146 {
147+ DataSource = ring2Path ,
147148 Mode = SqliteOpenMode . ReadWriteCreate ,
148149 Password = secret . Value ,
149150 Pooling = false
Original file line number Diff line number Diff line change 88 <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
99 <EnableWindowsTargeting >true</EnableWindowsTargeting >
1010 <PackageId >Nickvision.Desktop</PackageId >
11- <Version >2026.5.1 </Version >
11+ <Version >2026.5.2 </Version >
1212 <Company >Nickvision</Company >
1313 <Authors >Nickvision</Authors >
1414 <Description >A cross-platform base for Nickvision desktop applications.</Description >
You can’t perform that action at this time.
0 commit comments