[SailfishDevel] Read device info

Adam Pigg adam at piggz.co.uk
Fri Aug 18 11:47:16 UTC 2017


Would it not be better to query the version of required packages?

On Fri, 18 Aug 2017 at 12:46 Andrew Penkrat <penkrat8 at gmail.com> wrote:

> Hi Dylan,
>
> You can read SFOS version from VERSION_ID line of /etc/os-release and
> device name from NAME line of /etc/hw-release. Though it claims my Jolla C
> is actually an Intex Aqua Fish :)
>
> Cheers,
> Andrew Penkrat
>
> On Fri, 18 Aug 2017 at 13:44 Dylan Van Assche via Devel <
> devel at lists.sailfishos.org> wrote:
>
>> Hi devs,
>>
>> Does somebody has a way to read the information displayed on the About
>> Page in Settings?
>> I would like to retrieve the SFOS version, Device name, ... not for
>> spying/collecting data (totally against that) but to check if some new
>> features of SFOS are available for my apps.
>>
>> Kind regards,
>> Dylan Van Assche
>>
>>
>>
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscribe at lists.sailfishos.org
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscribe at lists.sailfishos.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20170818/c014296a/attachment.html>


More information about the Devel mailing list