<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Dave,</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 22, 2022 at 1:13 PM David T. Lewis <<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">On Fri, Jul 22, 2022 at 08:06:19AM -0700, Eliot Miranda wrote:<br>
> Hi Dave,<br>
> <br>
> > On Jul 22, 2022, at 7:53 AM, David T. Lewis <<a href="mailto:lewis@mail.msen.com" target="_blank">lewis@mail.msen.com</a>> wrote:<br>
> > <br>
> > ???On Fri, Jul 22, 2022 at 07:38:07AM -0700, Eliot Miranda wrote:<br>
> >> <br>
> >> <br>
> >>>> On Jul 22, 2022, at 3:13 AM, Marcel Taeumel <<a href="mailto:marcel.taeumel@hpi.de" target="_blank">marcel.taeumel@hpi.de</a>> wrote:<br>
> >>> <br>
> >>> ???<br>
> >>> Hi Eliot --<br>
> >>> <br>
> >>>> 1. the update fails with a merge conflict in the release builder between: [...]<br>
> >>> <br>
> >>> If you want to prepare a VMMaker Trunk image, you would use a regular Trunk image, not a release image. I think. So, why aren't you using a recent 6.1alpha image?<br>
> >>> -> <a href="http://files.squeak.org/6.1alpha/Squeak6.1alpha-22134-64bit/" rel="noreferrer" target="_blank">http://files.squeak.org/6.1alpha/Squeak6.1alpha-22134-64bit/</a><br>
> >>> <br>
> >> <br>
> >> OK, I???ll try that.  Thanx!!<br>
> >> <br>
> > <br>
> > This will probably work with the 6.0 release image:<br>
> > <br>
> > ./Squeak.app/Contents/MacOS/Squeak trunk6-64.image UpdateSqueakTrunkImage.st --doit 'Project current addDeferredUIMessage: [PreferenceWizardMorph allInstances do: [:e | e delete]]'<br>
> > <br>
> > Or maybe just add "PreferenceWizardMorph allInstances do: [:e | e delete]." as the first line of the script.<br>
> <br>
> Given that there seems to be a drop event generated somewhere that may cause the script to be launched again later, is there a way of asking if the script is tuning in the context of DoItFirst?  Then the first line would be<br>
> <br>
>     self isRunningAsDoItFirst ifTrue: [^self].<br>
>     ???do stuff second time around when the system is headful???<br>
><br>
<br>
It's best to do only very minimal things in any of the DoItFirst<br>
options. These run at the very earliest possible time in the startup<br>
list processing, so many things have not yet been initialized at that<br>
point. For doing anything non-trivial, you will want to use the normal<br>
start up script loader (as you already are doing for the VMMaker scripts).<br></blockquote><div class="gmail_default" style="font-size:small"></div><div class="gmail_default" style="font-size:small">I'm not trying to use DoItFirst.  I'm just trying to load scripts as used to work.  Now, once I revert back to the old syntax of </div><div class="gmail_default" style="font-size:small">    vmexe image.image <a href="http://script.st">script.st</a></div><div class="gmail_default" style="font-size:small">scripts run, but every time a script is run a Note stating</div><div class="gmail_default" style="font-size:small">    Cannot start a second instance of Squeak\with the image "{1}"\because the VM is configured as singleton application.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Why is that happening?  It shouldn't, right?</div><div class="gmail_default" style="font-size:small"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">The --doit option (and similar) is just a hook for running a snippet<br>
prior to startup processing, which is helpful if you have a broken<br>
image that you need to repair before it goes through the full startup<br>
list. Or you can use it to evaluate some expressions prior to running<br>
your actual script file.<br>
<br>
Dave<br>
</blockquote></div><br clear="all"><div><div class="gmail_default" style="font-size:small">We need a page that specifies the startup semantics in the Squeak Help.</div><br></div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div></div>