From a88f2beb0f58e8486339a48267dae3ceea752f46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Sun, 26 Oct 2014 00:23:01 +0200 Subject: [PATCH] Make HaikuDepot the preferred app for .hpkg files. Note that double clicking a .hpkg in one of the packages folders will not yet have a sensible result. I think it should open the regular HaikuDepot with the full packages list, default to show installed packages only and pre-select the package that was double clicked. It would be tricky however if more than one installed package file is opened at once. --- src/data/mime_db/application/x-vnd.haiku-package | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/data/mime_db/application/x-vnd.haiku-package b/src/data/mime_db/application/x-vnd.haiku-package index f819353f0b..11b64cc9de 100644 --- a/src/data/mime_db/application/x-vnd.haiku-package +++ b/src/data/mime_db/application/x-vnd.haiku-package @@ -9,8 +9,7 @@ resource(3, "META:L:DESC") #'MLDC' "Haiku software package file"; resource(4, "META:SNIFF_RULE") "0.60 (\"hpkg\")"; -// TODO: That should be the package manager. -//resource(5, "META:PREF_APP") #'MSIG' "application/x-vnd.Haiku-Expander"; +resource(5, "META:PREF_APP") #'MSIG' "application/x-vnd.Haiku-HaikuDepot"; resource(6, "META:EXTENS") message(234) { "extensions" = "hpkg",