[Cuis-dev] A few question about automatic installation of packages at boot (ie. OSProcesses)

Nicola Mingotti nmingotti at gmail.com
Sun Aug 1 03:10:45 PDT 2021



On 8/1/21 1:58 AM, Juan Vuletich wrote:
> Hi Nicola,
>
> On 7/31/2021 12:24 PM, Nicola Mingotti via Cuis-dev wrote:
>>
>> Hi Juan,
>>
>>
>>>> 3] Since I am automatizing the system via script I would prefer 
>>>> that when
>>>> I select World -> Quit the system stop asking me if I want to save 
>>>> the image,
>>>> by default I don't want. Is there a variable the say that ? Or do I 
>>>> need to make
>>>> a change, file it out and file it in in the '.st' file ?
>>>>
>>>
>>> If you are doing it via code, just call 
>>> #snapshot:andQuit:clearAllClassState: yourself. If you want a new / 
>>> different menu option, just add it. See senders of #quitSession
>>>
>>> -- 
>>> Juan Vuletich
>>
>> Ok for the code, I can for sure add a entry menu, It should not be 
>> difficult.
>>
>> But i have a suggestion. Since the CuisBook recommends, as good 
>> practice, not to save the image
>> I would say it would be nice for the system to have a global variable 
>> like
>> "#saveImageOnQuit" set to true by default.
>>
>> Then, when i user is experienced enough to have all the Git things 
>> set up he can just
>> toggle the value of the variable via script at image boot and have 
>> the system behave as recommended
>> by the book. Reference to that variable should be in the book in 
>> paragraph 9.5.1.
>>
>> I can try to implement this myself if you guys think is a nice 
>> feature to have.
>>
>> bye
>> Nicola
>
> Yes, that makes sense. Please go ahead. Make it selectable by 
> something like
>
> Preferences enable: #askForSaveOnQuit
> Preferences disable: #askForSaveOnQuit
>
> default to true.
>
> Thanks!
> -- 
> Juan Vuletich

Thak you Jaun. ok, I will do it ! :)


bye
Nicola






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210801/0af32fbf/attachment.htm>


More information about the Cuis-dev mailing list