mirror of
https://github.com/Pixeval/Pixeval.git
synced 2025-01-07 03:06:53 +08:00
修复默认设置项问题 (#565)
This commit is contained in:
parent
26447bd61a
commit
ef7b1918c7
@ -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}}}";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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" />
|
||||
|
Loading…
Reference in New Issue
Block a user