mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-05-07 19:18:14 +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:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user