mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-02-26 16:20:43 +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:
@@ -1,4 +1,5 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Import Project="..\Solution.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net48</TargetFramework>
|
||||
@@ -13,12 +14,17 @@
|
||||
<OutputPath>..\Release\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.13" />
|
||||
<PackageReference Include="Microsoft.Data.Sqlite.Core" Version="8.0.13" />
|
||||
<PackageReference Include="Microsoft.Data.Sqlite" Version="9.0.5" />
|
||||
<PackageReference Include="Microsoft.Data.Sqlite.Core" Version="9.0.5" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ChanSort.Api\ChanSort.Api.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Update="System.Memory" Version="4.6.3" />
|
||||
<PackageReference Update="System.Runtime.CompilerServices.Unsafe" Version="6.1.2" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace ChanSort.Loader.VisionEdge4K
|
||||
#region Load()
|
||||
public override void Load()
|
||||
{
|
||||
string connString = $"Data Source={this.FileName};Pooling=False";
|
||||
string connString = $"Data Source=\"{this.FileName}\";Pooling=False";
|
||||
using var conn = new SqliteConnection(connString);
|
||||
conn.Open();
|
||||
|
||||
@@ -281,7 +281,7 @@ order by p.tv_type,p.disp_order";
|
||||
#region Save()
|
||||
public override void Save()
|
||||
{
|
||||
string channelConnString = $"Data Source={this.FileName};Pooling=False";
|
||||
string channelConnString = $"Data Source=\"{this.FileName}\";Pooling=False";
|
||||
using var conn = new SqliteConnection(channelConnString);
|
||||
conn.Open();
|
||||
using var trans = conn.BeginTransaction();
|
||||
|
||||
Reference in New Issue
Block a user