mirror of
https://github.com/imrayya/SRTto3Dsubtitles.git
synced 2026-09-21 10:17:27 +02:00
9b7b8df874
GUI: - Attach Click event handlers to browse input/output buttons (were defined but never wired up) - Remove ReadOnly=true from input/output text boxes so users can type or copy paths CLI: - Make Cli.Run return bool to signal errors - Only pause with Console.ReadLine() when an error occurs (not on success) - Fix default case to return true Core: - Add System.Text.Encoding.CodePages package for CP1252 SRT file support - Call Encoding.RegisterProvider(CodePagesEncodingProvider.Instance) before reading files
12 lines
204 B
C#
12 lines
204 B
C#
namespace ConvertSRTto3DASS;
|
|
|
|
internal static class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
var hadError = Cli.Run(args);
|
|
if (hadError)
|
|
Console.ReadLine();
|
|
}
|
|
}
|