修复默认设置项问题 (#565)

This commit is contained in:
Poker 2024-12-25 22:25:49 +08:00 committed by GitHub
parent 26447bd61a
commit ef7b1918c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 7 deletions

View File

@ -313,8 +313,8 @@ public partial record AppSettings() : IWindowSettings
var picDirectory = Path.GetDirectoryName(picPath);
return picDirectory == Path.GetDirectoryName(docPath)
? picDirectory +
@$"\@{{if_illust={Path.GetFileName(picPath)}}}@{{if_novel={Path.GetFileName(docPath)}}}"
: $"@{{if_illust={picPath}}}@{{if_novel={docPath}}}";
@$"\@{{if_pic_all={Path.GetFileName(picPath)}}}@{{if_novel={Path.GetFileName(docPath)}}}"
: $"@{{if_pic_all={picPath}}}@{{if_novel={docPath}}}";
}
}

View File

@ -3,7 +3,7 @@
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" IgnorableNamespaces="uap rescap mp">
<Identity Name="PokerKo.4454907E5DDB5" Publisher="CN=D5BE94D7-0E23-4B10-BC6A-5550D9783A2A" Version="4.3.0.0"/>
<Identity Name="PokerKo.4454907E5DDB5" Publisher="CN=D5BE94D7-0E23-4B10-BC6A-5550D9783A2A" Version="4.3.1.0"/>
<Properties>
<DisplayName>Pixeval</DisplayName>
<PublisherDisplayName>PokerKo</PublisherDisplayName>

View File

@ -41,10 +41,6 @@
<PackageReference Include="CommunityToolkit.Diagnostics" Version="8.4.0" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0" />
<PackageReference Include="FluentIcons.WinUI" Version="1.1.271" />
<PackageReference Include="GitInfo" Version="3.5.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="LiteDB" Version="5.0.21" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.0" />
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="3.0.1" />