[LyX/master] Make the directories in LyX application bundle read only.

Jean-Marc Lasgouttes lasgouttes at lyx.org
Fri Feb 21 17:40:49 UTC 2020


Le 21/02/2020 à 18:32, Scott Kostyshak a écrit :
> On Fri, Feb 21, 2020 at 06:28:24PM +0100, Jean-Marc Lasgouttes wrote:
>> Le 21/02/2020 à 17:45, Stephan Witt a écrit :
>>> commit ca7defab45a685bbc0303c32b94afb5ec98d4118
>>> Author: Stephan Witt <switt at lyx.org>
>>> Date:   Fri Feb 21 18:04:28 2020 +0100
>>>
>>>       Make the directories in LyX application bundle read only.
>>>       Python produces files with cached on-the-fly compiled code on disk inside the bundle.
>>>       This should be avoided in case of a signed application bundle.
>>
>> Are the .pyc file still present? I think they are needed performance-wise
>> (for startup time).
>>
>> I am not sure about the portability, though. Assuming we require python3 are
>> there different pyc versions?
> 
> I have no idea, but is this relevant?
> 
>    https://stackoverflow.com/a/58983357

It looks like it might be, but only when read by new enough versions of 
python, I guess.

JMarc



More information about the lyx-devel mailing list