Giter Site home page Giter Site logo

mintplayer.browserdialog's People

Contributors

mderu avatar merijn040 avatar pieterjandc2 avatar pieterjandeclippel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mintplayer.browserdialog's Issues

Support for UWP browsers

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 :-)

Browser possibly returned twice when installed for just the user

Some browsers (eg. Opera) can be installed in 2 ways:

  • Just for the current user
  • For everyone on the device

Start by installing opera on one user account, just for the user, then login with another windows user, and install opera for everyone on the device.

image

image

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.