Skip to content

Commit

Permalink
Added new options :0
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrgaton committed Apr 16, 2024
1 parent f1948b7 commit 2a422c0
Show file tree
Hide file tree
Showing 7 changed files with 184 additions and 87 deletions.
12 changes: 12 additions & 0 deletions Youtuve downloader/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@
<assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Text.Encoding.CodePages" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="AngleSharp" publicKeyToken="e83494dcdc6d31ea" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Text.Json" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-8.0.0.2" newVersion="8.0.0.2" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
2 changes: 1 addition & 1 deletion Youtuve downloader/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static string Get(string key)
{
if (!File.Exists(configPath)) return null;

return File.ReadAllText(configPath).Split('\n').FirstOrDefault(s => s.StartsWith(key + '=', StringComparison.InvariantCultureIgnoreCase)).Split('=').Last().Trim('\r');
return File.ReadAllText(configPath).Split('\n').FirstOrDefault(s => s.StartsWith(key + '=', StringComparison.InvariantCultureIgnoreCase))?.Split('=').LastOrDefault().Trim('\r');
}
}
}
2 changes: 1 addition & 1 deletion Youtuve downloader/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@

[assembly: AssemblyTitle("Youtube downloader")]
[assembly: AssemblyProduct("Youtube downloader")]
[assembly: AssemblyCopyright("Copyright © 2021")]
[assembly: AssemblyCopyright("Copyright Mrgaton© 2021")]
[assembly: ComVisible(false)]
[assembly: Guid("b3b66ad0-ca13-4f35-9188-3d82431cc8c2")]
107 changes: 82 additions & 25 deletions Youtuve downloader/YoutubeForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2a422c0

Please sign in to comment.