[haiku-development] Re: How do I add supported apps to a MIME type?

  • From: John Scipione <jscipione@xxxxxxxxx>
  • To: "haiku-development@xxxxxxxxxxxxx" <haiku-development@xxxxxxxxxxxxx>
  • Date: Fri, 3 Sep 2021 08:31:24 -0400

On Wed, Sep 1, 2021 at 10:33 AM Adrien Destugues
<pulkomandy@xxxxxxxxxxxxx> wrote:

I was unclear, it should be the case already for all hpkg files. This is
done either by the haiku buildsystem (for haiku.hpkg, webpositive.hpkg, etc)
or by haikuporter (for the packages built there).

This doesn't seem to be working for WebPositive at least. WebPositive
is not listed as an option under Preferred app drop down for the
application/"Be File URL" type in FileTypes preferences. Is it for
you?

I went a bit further and called update_mime_info("../add_on/Color
Pickers/", true, false, true); in my client app and even that did not
add the apps to the Preferred app drop down in FileTypes. Running
`mimeset -F --all "../add_on/Color Pickers/*"` from the command line
did add the apps to the Preferred app drop down in FileTypes though.

Other related posts: