Skip to content

Commit

Permalink
add extra checks for user settings and bump version to release
Browse files Browse the repository at this point in the history
  • Loading branch information
13xforever committed Oct 31, 2022
1 parent faa50f9 commit 305107c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Ps3DiscDumper/Dumper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace Ps3DiscDumper
{
public class Dumper: IDisposable
{
public const string Version = "3.3.2b2";
public const string Version = "3.3.2";

private static readonly Regex VersionParts = new Regex(@"(?<ver>\d+(\.\d+){0,2})[ \-]*(?<pre>.*)", RegexOptions.Singleline | RegexOptions.ExplicitCapture);
private static readonly HashSet<char> InvalidChars = new(Path.GetInvalidFileNameChars().Concat(Path.GetInvalidPathChars()));
Expand Down
3 changes: 3 additions & 0 deletions UI.WinForms.Msil/Forms/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ private void MainForm_Load(object sender, EventArgs e)
updateCheckWorker.DoWork += (o, evtArgs) => evtArgs.Result = Dumper.CheckUpdatesAsync().ConfigureAwait(false).GetAwaiter().GetResult();
updateCheckWorker.RunWorkerCompleted += ShowUpdateCheckResults;
updateCheckWorker.RunWorkerAsync();

if (string.IsNullOrEmpty(settings.OutputDir) || string.IsNullOrEmpty(settings.IrdDir) || string.IsNullOrWhiteSpace(settings.DumpNameTemplate))
settingsButton_Click(sender, e);
}

private void settingsButton_Click(object sender, EventArgs e)
Expand Down

0 comments on commit 305107c

Please sign in to comment.