Skip to content

Commit

Permalink
Release Build 6.5
Browse files Browse the repository at this point in the history
  • Loading branch information
IchimakiKasura committed Apr 8, 2022
1 parent d3b6a2c commit 16d6e5d
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 11 deletions.
20 changes: 13 additions & 7 deletions Global.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,19 @@ public partial class MainWindow

// Hidden button / Update notes
readonly string HiddenButtonText = "LauncherDL Development Build\n\n" +
"OMG this is so E P I C!!\n\n" +
"New GUI/Layout, Animations!?!\n\n" +
"The OLD Button Hover Animation from ver3 is even back!??\n\n\n" +
"Update v6.1:\n" +
"Added Few Languages\n" +
"Added Customizable Background color\n" +
"Fixed font family\n\n" +
"[New Features]\n"+
"- New \"Convert\" type! Now you can now\nConvert videos or audios into another format.\n"+
"- Format option is fully redesigned/reworked.\n"+
"- App will now open in a single instance.\n"+
"- New Added Taskbar Flashing / Progress bar.\n"+
"- Format ID/Code are now showing.\n"+
"- Console outputs more info now and saves a Log on exit!\n\n"+
"[Fixes]\n"+
"- Choosing Audio Type will not download to its correct location.\n"+
"- Fixed where closing the application will actually close even the\npop-up message stops you from closing it.\n"+
"- Fixed where all the context menu are from right to left are now left to right.\n"+
"- Textbox's focus are now fixed when clicking away from it."+
"- Fixed where fonts doesn't actually renders even though its embedded to the resource.\n"+
"Created by Kasura.";


Expand Down
2 changes: 1 addition & 1 deletion Lib/Core/StartUp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ private async void Initialize()
Open_Folder.Click += delegate { OpenFolder(Config.DefaultOutput); };
OpenDir_Audio.Click += delegate { OpenFolder($"{Config.DefaultOutput}\\Audio"); };
OpenDir_Video.Click += delegate { OpenFolder($"{Config.DefaultOutput}\\Video"); };
OpenDir_Convert.Click += delegate { OpenFolder($"{Config.DefaultOutput}\\Converted"); };
OpenDir_Convert.Click += delegate { OpenFolder($"{Config.DefaultOutput}\\Convert"); };

OpenDir_webm.Click += delegate { OpenFolder($"{Config.DefaultOutput}\\formatted\\webm"); };
OpenDir_mFourA.Click += delegate { OpenFolder($"{Config.DefaultOutput}\\formatted\\m4a"); };
Expand Down
9 changes: 8 additions & 1 deletion Lib/MainWindow/ButtonHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,13 @@ public async void ConvertFile(object s, RoutedEventArgs e)
return;
}

if(!File.Exists(Input_Link.Text))
{
Output_text.AddFormattedText("<Red>[ERROR] <>No file selected!");
return;
}


ProgressBarShow();
IsDownloading = true;
Window_Components(true);
Expand All @@ -108,7 +115,7 @@ public async void ConvertFile(object s, RoutedEventArgs e)
{
UseShellExecute = false,
RedirectStandardError = true,
CreateNoWindow = false
CreateNoWindow = true
};

Output_text.AddFormattedText("<#83fa57>[PROCESSING] <>Please wait until the conversion is finished.");
Expand Down
6 changes: 4 additions & 2 deletions Lib/MainWindow/Windows.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,16 @@ private void Window_Components(bool Disable)
}
else
{
Button_Format.IsEnabled =

Button_Download.IsEnabled =
Button_Update.IsEnabled =
Input_Link.IsEnabled =
Input_Name.IsEnabled =
Input_Type.IsEnabled =
Open_Folder.IsEnabled =
Open_Folder.IsEnabled =
Input_Format.IsEnabled = true;

if (Input_Type.SelectedIndex == 0) Button_Format.IsEnabled = true;
}
}
}

0 comments on commit 16d6e5d

Please sign in to comment.