- 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:
Horst Beham
2025-06-05 18:35:10 +02:00
parent 10a53f367f
commit 636b9c4151
74 changed files with 10491 additions and 1577 deletions

View File

@@ -77,7 +77,7 @@ namespace ChanSort.Loader.Samsung.Zip
{
try
{
using var conn = new SqliteConnection($"Data Source={(this.TempPath + "\\sat")};Pooling=False");
using var conn = new SqliteConnection($"Data Source=\"{this.TempPath + "\\sat"}\";Pooling=False");
conn.Open();
this.ReadSatDatabase(conn);
}
@@ -100,7 +100,7 @@ namespace ChanSort.Loader.Samsung.Zip
FileType type;
try
{
using var conn = new SqliteConnection($"Data Source={filePath};Pooling=False");
using var conn = new SqliteConnection($"Data Source=\"{filePath}\";Pooling=False");
conn.Open();
using (var cmd = conn.CreateCommand())
{
@@ -535,7 +535,7 @@ namespace ChanSort.Loader.Samsung.Zip
#region SaveChannelList()
private void SaveChannelList(ChannelList channelList, string dbPath)
{
using var conn = new SqliteConnection($"Data Source={dbPath};Pooling=False");
using var conn = new SqliteConnection($"Data Source=\"{dbPath}\";Pooling=False");
conn.Open();
using (var trans = conn.BeginTransaction())
{