Skip to content

Commit

Permalink
workyworky
Browse files Browse the repository at this point in the history
  • Loading branch information
murrty committed Oct 15, 2022
1 parent 36e9d87 commit 071fd1a
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 9 deletions.
3 changes: 3 additions & 0 deletions Controls/Interfaces/TaskbarInterface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ internal static ExtendedProgressBar Accessor {
set {
if (value is null) {
if (AccessorPriorityList.Count > 0) {
while (AccessorPriorityList[0] is null || AccessorPriorityList[0].IsDisposed)
AccessorPriorityList.RemoveAt(0);

fAccessor = AccessorPriorityList[0];
AccessorPriorityList.RemoveAt(0);
fAccessor.SetStateInTaskbar();
Expand Down
1 change: 1 addition & 0 deletions youtube-dl-gui-updater/youtube-dl-gui-updater.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
<Reference Include="System.Management" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.ServiceModel" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion youtube-dl-gui/Forms/frmAbout.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public frmAbout() {
llbCheckForUpdates.Location.Y
);

if (!Config.Settings.Initialization.ScreenshotMode)
if (Config.Settings.Initialization.ScreenshotMode)
this.FormClosing += (s, e) => this.Dispose();
}

Expand Down
2 changes: 1 addition & 1 deletion youtube-dl-gui/Forms/frmExtendedDownloader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ private void DownloadInfo() {

this.Invoke(() => {
this.Text = Config.Settings.Initialization.ScreenshotMode ?
$"Video title - {Language.ApplicationName}" : $"{Information.Title} - {Language.ApplicationName}";
$"The videos' title will appear here - {Language.ApplicationName}" : $"{Information.Title} - {Language.ApplicationName}";
txtExtendedDownloaderMediaTitle.Text = Information.Title;
rtbMediaDescription.Text = Information.Description;
txtUploader.Text = Information.Uploader;
Expand Down
8 changes: 4 additions & 4 deletions youtube-dl-gui/Forms/frmMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -553,13 +553,13 @@ private void mLog_Click(object sender, EventArgs e) {

private void mAbout_Click(object sender, EventArgs e) {
if (Config.Settings.Initialization.ScreenshotMode) {
using frmAbout about = new();
about.ShowDialog();
}
else {
frmAbout about = new();
about.Show();
}
else {
using frmAbout about = new();
about.ShowDialog();
}
}
#endregion

Expand Down
2 changes: 1 addition & 1 deletion youtube-dl-gui/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ internal static class Program {
/// <summary>
/// Gets the curent version of the program.
/// </summary>
public static Version CurrentVersion { get; } = new(3, 1, 0);
public static Version CurrentVersion { get; } = new(3, 1, 1);

/// <summary>
/// Gets whether the program is running in debug mode.
Expand Down
2 changes: 1 addition & 1 deletion youtube-dl-gui/Resources/BuildDate.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2022-09-29
2022-10-15
Binary file modified youtube-dl-gui/Resources/youtube-dl-gui-updater.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion youtube-dl-gui/Updater/UpdateChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
namespace youtube_dl_gui {
internal class UpdateChecker {
#region Fields & Properties
private const string KnownUpdaterHash = "B2C17EAC85AC0DF800643C602F4EAF09F93E62822CA3D1B2034D55E5C16EF1CC";
private const string KnownUpdaterHash = "FFA64CBA460E6ADD7975D61CF518352D17687E026A7D8AE80631E80FB2E73695";
private const string FfmpegDownloadLink = "https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip";
public static GithubData LastChecked { get; private set; }
public static GithubData LastCheckedLatestRelease { get; private set; }
Expand Down
1 change: 1 addition & 0 deletions youtube-dl-gui/youtube-dl-gui.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
<Reference Include="System.Management" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.ServiceModel" />
<Reference Include="System.Xml.Linq" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Drawing" />
Expand Down

0 comments on commit 071fd1a

Please sign in to comment.