diff options
| author | ac79b0c6 <[email protected]> | 2022-05-08 15:21:00 +0800 |
|---|---|---|
| committer | ac79b0c6 <[email protected]> | 2022-05-08 15:21:00 +0800 |
| commit | a9f56390d5f0bc488b7bd40fa4af80ed19d90cc5 (patch) | |
| tree | 40fc21e36234fc463bf346589bf4bf22dd8ccdd9 | |
| parent | 884be8b1b4d9e7a7cdf80e2ca0ef56fe581ae440 (diff) | |
update gui
| -rw-r--r-- | .gitignore | 4 | ||||
| -rw-r--r-- | mkvtool-gui/MainWindow.axaml.cs | 4 | ||||
| -rw-r--r-- | mkvtool-gui/Properties/PublishProfiles/FolderProfile.pubxml | 18 | ||||
| -rw-r--r-- | mkvtool-gui/mkvtool.csproj | 5 |
4 files changed, 28 insertions, 3 deletions
@@ -12,4 +12,6 @@ gen # VS project files bin obj -.vs
\ No newline at end of file +.vs +*.user +/mkvtool-gui/mkvlib.so diff --git a/mkvtool-gui/MainWindow.axaml.cs b/mkvtool-gui/MainWindow.axaml.cs index dae4549..1d55d42 100644 --- a/mkvtool-gui/MainWindow.axaml.cs +++ b/mkvtool-gui/MainWindow.axaml.cs @@ -366,7 +366,7 @@ namespace mkvtool this.FindControl<TextBlock>("ma1").Text = string.Empty; this.FindControl<TextBlock>("ma2").Text = string.Empty; this.FindControl<TextBlock>("ma3").Text = string.Empty; - this.FindControl<TextBox>("ma4").Text = string.Empty; + this.FindControl<TextBox>("ma4").Text = "chi"; this.FindControl<TextBox>("ma5").Text = string.Empty; }); } @@ -467,7 +467,7 @@ namespace mkvtool this.FindControl<TextBlock>("ca2").Text = string.Empty; this.FindControl<TextBlock>("ca3").Text = string.Empty; this.FindControl<TextBlock>("ca4").Text = string.Empty; - this.FindControl<TextBox>("ca5").Text = string.Empty; + this.FindControl<TextBox>("ca5").Text = "chi"; this.FindControl<TextBox>("ca6").Text = string.Empty; this.FindControl<ToggleSwitch>("ca7").IsChecked = false; }); diff --git a/mkvtool-gui/Properties/PublishProfiles/FolderProfile.pubxml b/mkvtool-gui/Properties/PublishProfiles/FolderProfile.pubxml new file mode 100644 index 0000000..15fec38 --- /dev/null +++ b/mkvtool-gui/Properties/PublishProfiles/FolderProfile.pubxml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +https://go.microsoft.com/fwlink/?LinkID=208121. +--> +<Project> + <PropertyGroup> + <Configuration>Release</Configuration> + <Platform>Any CPU</Platform> + <PublishDir>bin\Release\net6.0\publish\win-x64\</PublishDir> + <PublishProtocol>FileSystem</PublishProtocol> + <TargetFramework>net6.0</TargetFramework> + <RuntimeIdentifier>win-x64</RuntimeIdentifier> + <SelfContained>true</SelfContained> + <PublishSingleFile>true</PublishSingleFile> + <PublishReadyToRun>true</PublishReadyToRun> + <PublishTrimmed>false</PublishTrimmed> + </PropertyGroup> +</Project>
\ No newline at end of file diff --git a/mkvtool-gui/mkvtool.csproj b/mkvtool-gui/mkvtool.csproj index 7d7285a..02cc9f8 100644 --- a/mkvtool-gui/mkvtool.csproj +++ b/mkvtool-gui/mkvtool.csproj @@ -20,4 +20,9 @@ <PackageReference Include="mameolan.Avalonia.Controlz" Version="1.0.0-CI-20211017-144151" /> <PackageReference Include="mameolan.Avalonia.ExtendedToolkit" Version="1.0.0-CI-20211017-144151" /> </ItemGroup> + <ItemGroup> + <None Update="mkvlib.so"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </None> + </ItemGroup> </Project> |
