Re: Making application help work for xdg-apps



On ons, 2016-02-03 at 10:46 +0100, Alexander Larsson wrote:
I've been thinking a bit about this recently. There is really no need
to do anything special, all the files of your installed app is
available to the host system. All you need to know is where your app
is installed (user vs system), and knowing that is really not any
kind
of security leak (it will be very guessable anyway). So, we should
just add that info to /run/user/$uid/xdg-app-info and then have the
app spawn the "open uri" portal (when we get one) with a file: uri
for
the help.

Just landed some code that lets you find the "app-path" in the xdg-app-
info file above.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
       alexl redhat com            alexander larsson gmail com 
He's an otherworldly Catholic househusband with a secret. She's a 
bloodthirsty tomboy mercenary with her own daytime radio talk show. They 
fight crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]