mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-01-27 17:49:03 +01:00
- fixed Nuget hell: (auto) binding redirects to prevent compiler warning flood and ensure unit tests to be runnable
- put file name in Sqlite connect string in quotes - improvements to Mediatek Philips 120+125/Sony serializer (physically reorder XML nodes, use flags stored in Java serialized blob) - selecting a RefList changed the current working directory, which prevented .ini files to be found by loaders
This commit is contained in:
@@ -87,7 +87,7 @@ namespace ChanSort.Loader.Android
|
||||
#region Load()
|
||||
public override void Load()
|
||||
{
|
||||
using var conn = new SqliteConnection($"Data Source={this.FileName};Pooling=False");
|
||||
using var conn = new SqliteConnection($"Data Source=\"{this.FileName}\";Pooling=False");
|
||||
conn.Open();
|
||||
using var cmd = conn.CreateCommand();
|
||||
|
||||
@@ -162,7 +162,7 @@ namespace ChanSort.Loader.Android
|
||||
/// </summary>
|
||||
public override void Save()
|
||||
{
|
||||
using var conn = new SqliteConnection($"Data Source={this.FileName};Pooling=False");
|
||||
using var conn = new SqliteConnection($"Data Source=\"{this.FileName}\";Pooling=False");
|
||||
conn.Open();
|
||||
using var trans = conn.BeginTransaction();
|
||||
using var cmd = conn.CreateCommand();
|
||||
|
||||
Reference in New Issue
Block a user