mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-05-07 08:46:04 +02: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:
@@ -114,7 +114,7 @@ namespace ChanSort.Loader.Hisense.ServicelistDb
|
||||
|
||||
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())
|
||||
@@ -445,7 +445,7 @@ left outer join {dbSchema.DvbServiceTable} digs on digs.ServiceId=s.Pid
|
||||
|
||||
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