Skip to content

Commit

Permalink
Bump version and improve error message screen
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMoolenaar committed Mar 10, 2024
1 parent c96a1ad commit 56b847b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleIdentifier</key>
<string>com.mikemoolenaar.MkvDefaultTrackChanger</string>
<key>CFBundleShortVersionString</key>
<string>1.1.0</string>
<string>1.2.0</string>
<key>LSMinimumSystemVersion</key>
<string>10.12</string>
<key>CFBundleDevelopmentRegion</key>
Expand Down
20 changes: 13 additions & 7 deletions MkvDefaultTrackChanger/MkvDefaultTrackChanger/ErrorForm.xeto
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,24 @@
xmlns="http://schema.picoe.ca/eto.forms"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MkvDefaultTrackChanger"
MinimumSize="370,530"
MinimumSize="370,570"
Size="370,530"
Padding="10"
>
<StackLayout Spacing="20" HorizontalContentAlignment="Center">
<Label x:Name="lblTitle" Text="An error occured!"></Label>
<LinkButton Text="Create issue" Click="BtnCreateIssueClicked"></LinkButton>
<DynamicLayout Spacing="0,15" Padding="15,5,15,0">
<StackLayout Spacing="5" HorizontalContentAlignment="Center">
<Label x:Name="lblTitle" Text="An error occured!"></Label>
<LinkButton Text="Create issue" Click="BtnCreateIssueClicked"></LinkButton>
</StackLayout>
<Label Text="You can report this error by creating an issue on GitHub, please copy and paste the below box-contained text in the issue description."></Label>
<Label Text="DISCLAIMER: The text includes basic info about your OS, tracks of the MKV file and about where the error occured in the codebase. It does not include the filename(s). By creating an issue you consent to sharing the below text publicly on the internet."></Label>

<TextArea Width="320" Height="150" Wrap="false" x:Name="txaExceptionMessage" ReadOnly="true"></TextArea>
<DynamicLayout Spacing="0,10">
<TextArea Wrap="false" Height="200" x:Name="txaExceptionMessage" ReadOnly="true"></TextArea>
</DynamicLayout>

<Button x:Name="btnClose" Click="BtnCloseClicked">Close</Button>
</StackLayout>
<StackLayout Spacing="5" HorizontalContentAlignment="Center">
<Button x:Name="btnClose" Click="BtnCloseClicked">Close</Button>
</StackLayout>
</DynamicLayout>
</Form>
4 changes: 2 additions & 2 deletions MkvReadCrawler/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ static void Main(string[] args)
Console.WriteLine($"{x++}/{mkvFiles.Length} {Path.GetFileName(mkvFile)}");
});

File.WriteAllText("OutputkvDefault.txt", mainStringBuilder.ToString());
Console.WriteLine("Done! Output written to OutputkvDefault.txt.");
File.WriteAllText("output.txt", mainStringBuilder.ToString());
Console.WriteLine("Done! Output written to output.txt");
}
}

0 comments on commit 56b847b

Please sign in to comment.