Hi,
Thanks for the comments :)
I will take a look at those files...
Cheers,
Dylan
> -------- Original Message --------
> Subject: Re: [SailfishDevel] Read device info
> Local Time: 18 August 2017 1:59 PM
> UTC Time: 18 August 2017 11:59
> From: penkr...@gmail.com
> To: Dylan Van Assche <dylan.van.ass...@protonmail.com>, Sailfish OS
> Developers mailing list <devel@lists.sailfishos.org>
>
> All software updates are distributed with OTAs and each OTA should increment
> Sailfish version number, so knowing this number should be enough.
> And it's easier to obtain. Do apps even have any access to PackageKit?
>
> Cheers,
> Andrew Penkrat
>
> On Fri, 18 Aug 2017 at 14:47 Adam Pigg <a...@piggz.co.uk> wrote:
>
>> Would it not be better to query the version of required packages?
>>
>> On Fri, 18 Aug 2017 at 12:46 Andrew Penkrat <penkr...@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@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-unsubscr...@lists.sailfishos.org
>>>
>>> _______________________________________________
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
>>
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org