mintplayer / mintplayer.browserdialog Goto Github PK
View Code? Open in Web Editor NEWThis package allows you to retrieve the web browsers installed on the system.
This package allows you to retrieve the web browsers installed on the system.
This isn't really an issue, more of a suggestion with some code to help. I have tested this package with various browsers and spotted that it wasn't picking up my DuckDuckGo browser which installs as a Windows App (UWP). I looked into it and found a way to do it, which is fairly simple and works with .NET 7.0.
Here is the info:
First, in your .csproj
you need to specifically target a Windows OS (in my case I did Windows 10, doesn't look like it works with previous versions) by setting your TargetFramework:
<TargetFramework>net7.0-windows10.0.22621.0</TargetFramework>
Then for the code you use PackageManager
from the Windows.Management.Deployment
namespace. In my example I am specifically looking for the DDG browser but Im sure there are smarter ways to go about finding others (like search for browser
or something):
PackageManager packageManager = new PackageManager();
IEnumerable<Windows.ApplicationModel.Package> packages = packageManager.FindPackagesForUser("");
foreach (var package in packages.Where(p => p.Id.FullName.Contains("duck", StringComparison.OrdinalIgnoreCase)))
{
Console.WriteLine(package.Id.FullName);
}
Just a suggestion, see what you guys think :-)
When clicking on the project website for https://www.nuget.org/packages/MintPlayer.IconUtils it leads to this link
https://github.com/MintPlayer/MintPlayer.BrowserDialog/MintPlayer.IconUtils
which is not found. Is this supposed to be this way ?
<PublishAot>true</PublishAot>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.