Skip to content

Commit

Permalink
chore: 添加赞赏码
Browse files Browse the repository at this point in the history
  • Loading branch information
K12f committed Sep 11, 2024
1 parent d8161ea commit fdd3536
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
Binary file added src/BlueCatKoKo.Ui/Assets/reward.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/BlueCatKoKo.Ui/BlueCatKoKo.Ui.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@
<ItemGroup>
<None Remove="Assets\applicationicon.jpg"/>
<Resource Include="Assets\applicationicon.jpg"/>
<None Remove="Assets\reward.png" />
<Resource Include="Assets\reward.png" />
</ItemGroup>

</Project>
15 changes: 11 additions & 4 deletions src/BlueCatKoKo.Ui/Views/Pages/AboutPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,25 @@
<TextBlock Text="仓库地址" FontSize="20" FontWeight="Bold" />
<TextBlock HorizontalAlignment="Left" Text="{Binding ViewModel.RepositoryUrl}"
Style="{StaticResource TextBlockDefaultBold}">

<Button Content="查看新版本" Margin="5" Command="{Binding ViewModel.OpenRepositoryCommand}" CommandParameter="/releases"/>
<Button Content="反馈意见" Margin="5" Command="{Binding ViewModel.OpenRepositoryCommand}" CommandParameter="/issues"/>

<Button Content="查看新版本" Margin="5" Command="{Binding ViewModel.OpenRepositoryCommand}"
CommandParameter="/releases" />
<Button Content="反馈意见" Margin="5" Command="{Binding ViewModel.OpenRepositoryCommand}"
CommandParameter="/issues" />
</TextBlock>

<TextBlock Text="免责声明" FontSize="20" FontWeight="Bold" />
<TextBlock TextWrapping="Wrap" HorizontalAlignment="Stretch" Text="{Binding ViewModel.AboutText}">
<Run FontFamily="Times New Roman" Foreground="DarkGray">

</Run>
<LineBreak />
</TextBlock>
<TextBlock Text="赞赏一下吧😄" FontSize="20" FontWeight="Bold"/>
<Border CornerRadius="4,4,0,0" Width="300" Height="300">
<Border.Background>
<ImageBrush ImageSource="/Assets/reward.png" Stretch="UniformToFill" />
</Border.Background>
</Border>
</hc:UniformSpacingPanel>
</hc:Col>
</hc:Row>
Expand Down
2 changes: 1 addition & 1 deletion src/BlueCatKoKo.Ui/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"AppConfig": {
"Name": "BlueCatKoKo",
"TrayTitle": "BlueCatKoKo-DY-Downloader",
"Version": "v1.1.6",
"Version": "v1.2.1",
"Description": "BlueCatKoKo is a Douyin Downloader",
"DownloadPath": "./",
"RepositoryUrl": "https://github.com/K12f/BlueCatKoKo",
Expand Down

0 comments on commit fdd3536

Please sign in to comment.