<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Tobi,<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 5, 2022 at 12:40 PM Tobias Pape <<a href="mailto:Das.Linux@gmx.de">Das.Linux@gmx.de</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"> <br>
Hi<br>
<br>
<br>
> On 5. Jul 2022, at 21:20, Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>> wrote:<br>
> <br>
> <br>
> <br>
> On Tue, Jul 5, 2022 at 12:13 PM Tobias Pape <<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>> wrote:<br>
> Hi Eliot, all<br>
> <br>
> > On 5. Jul 2022, at 21:08, Marcel Taeumel <<a href="mailto:marcel.taeumel@hpi.de" target="_blank">marcel.taeumel@hpi.de</a>> wrote:<br>
> > <br>
> > Hi Eliot --<br>
> > <br>
> > I cannot reproduce that issue on macOS 11.6.5.<br>
> > <br>
> > 1. Download Squeak 6.0 as .dmg container.<br>
> > 2. Move contents (.app), for example, onto desktop.<br>
> > 3. Drop an arbitrary .image onto that .app.<br>
> > 4. That .image will be opened.<br>
> > <br>
> > Well, your "Note" looks like you are trying to run that .app from some temporary folder? How did you achieve that?<br>
> <br>
> The keyword "AppTranslocation" hints that the bundle was started from the Download location or the DMG.<br>
> <br>
> 1. I downloaded the all-in-one.<br>
> 2. macos (12.4) unzipped the all-in-one bundle into a ~/Downloads/Squeak6 directory, containing the fat binary mac app bundle containing the other VMs and the Mac VM in ~/Squeak/Squeak6/<a href="http://Squeak6.0-22101-64bit-All-in-One.app/Contents/" rel="noreferrer" target="_blank">Squeak6.0-22101-64bit-All-in-One.app/Contents/</a><br>
> 3. I moved this to my Squeak directory, giving me ~/Squeak/Squeak6/<a href="http://Squeak6.0-22101-64bit-All-in-One.app" rel="noreferrer" target="_blank">Squeak6.0-22101-64bit-All-in-One.app</a> et al<br>
> 4. I copied the image and changes file into a ~/Squeak/Squeak6.0 directory as trunk6-64.image/changes<br>
> 5. I dropped the image on the ~/Squeak/Squeak6/<a href="http://Squeak6.0-22101-64bit-All-in-One.app" rel="noreferrer" target="_blank">Squeak6.0-22101-64bit-All-in-One.app</a> bundle and got the translocation<br>
> 6. I opened the app using the command line from ~/Squeak/Squeak6.0:<br>
>         open trunk6-64.image -a ~/Squeak/Squeak6/<a href="http://Squeak6.0-22101-64bit-All-in-One.app" rel="noreferrer" target="_blank">Squeak6.0-22101-64bit-All-in-One.app</a> --stdout=`tty` --stderr=`tty`<br>
>     and got the translocation<br>
> 7. I ran the VM binary from the command line:<br>
>         ../Squeak6/<a href="http://Squeak6.0-22101-64bit-All-in-One.app/Contents/MacOS/Squeak" rel="noreferrer" target="_blank">Squeak6.0-22101-64bit-All-in-One.app/Contents/MacOS/Squeak</a> trunk6-64.image<br>
>     and got the warning about no sources in ../Squeak6<br>
> <br>
> <br>
> Please throw away the app or DMG, download again and MOVE the app somewhere else, and then start.<br>
> This precludes translocation.<br>
> <br>
> I'm not using the DMG.  I downloaded the all-in-one, and moved it.<br>
<br>
In that case, I really wonder what's going on.<br>
Can you give me the output of<br>
<br>
ls -le@ <a href="http://Squeak6.0-22101-64bit-All-in-One.app/Contents/MacOS/Squeak" rel="noreferrer" target="_blank">Squeak6.0-22101-64bit-All-in-One.app/Contents/MacOS/Squeak</a></blockquote><div> </div><div>Squeak$ ls -le@ Squeak6/<a href="http://Squeak6.0-22101-64bit-All-in-One.app/Contents/MacOS/Squeak">Squeak6.0-22101-64bit-All-in-One.app/Contents/MacOS/Squeak</a><br>-rwxr-xr-x@ 1 eliot  staff  4100688 Jul  4 16:30 Squeak6/<a href="http://Squeak6.0-22101-64bit-All-in-One.app/Contents/MacOS/Squeak">Squeak6.0-22101-64bit-All-in-One.app/Contents/MacOS/Squeak</a><br>    com.apple.quarantine         57<br></div>Squeak$ ls -le@ Squeak6/<a href="http://Squeak6.0-22101-64bit-All-in-One.app">Squeak6.0-22101-64bit-All-in-One.app</a><br>total 0<br>drwxr-xr-x@ 10 eliot  staff  320 Jul  4 16:32 Contents<br><div>com.apple.quarantine         57</div><div> </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"><br>
xattr -l <a href="http://Squeak6.0-22101-64bit-All-in-One.app/Contents/MacOS/Squeak" rel="noreferrer" target="_blank">Squeak6.0-22101-64bit-All-in-One.app/Contents/MacOS/Squeak</a> <br></blockquote><div><br></div><div>Squeak$ xattr -l Squeak6/<a href="http://Squeak6.0-22101-64bit-All-in-One.app/Contents/MacOS/Squeak">Squeak6.0-22101-64bit-All-in-One.app/Contents/MacOS/Squeak</a><br>com.apple.quarantine: 0083;62c487a3;Safari;2D1FCF49-69DA-447C-BA51-16CC663654C4<br></div><div><br></div>Squeak$ xattr -l Squeak6/<a href="http://Squeak6.0-22101-64bit-All-in-One.app">Squeak6.0-22101-64bit-All-in-One.app</a><br><div>com.apple.quarantine: 0083;62c487a3;Safari;2D1FCF49-69DA-447C-BA51-16CC663654C4 </div><div><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">
<br>
xattr -l $PATH_OF_THE_DOWNLOADED_THING<br></blockquote><div><br></div>xattr -l ~/Downloads/Squeak6<br><div>com.apple.quarantine: 0083;62c4b913;Safari;90386985-D5B9-4492-AF0B-766931630126</div><div><br></div>Squeak$ xattr -l ~/Downloads/Squeak6/<a href="http://Squeak6.0-22101-64bit-All-in-One.app">Squeak6.0-22101-64bit-All-in-One.app</a><br><div>com.apple.quarantine: 0083;62c4b913;Safari;90386985-D5B9-4492-AF0B-766931630126</div><div> </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">
<br>
please?<br>
<br>
<br>
> <br>
> (this is unavoidable.)<br>
> <br>
> Have you got a pointer to the relevant documentation?<br>
<br>
Apple is scarce on any usable stuff lately…<br>
<br>
<br>
>  Do I have to duplicate the Squeak6 directory?<br>
<br>
you should not, if you moved stuff, macOS should have disabled translocation -.-<br>
<br>
Lapcatsoftware has old info:<br>
        <a href="https://lapcatsoftware.com/articles/app-translocation.html" rel="noreferrer" target="_blank">https://lapcatsoftware.com/articles/app-translocation.html</a><br>
<br>
Here's someone avoiding translocation via some exploit, hence not recommendable:<br>
        <a href="https://www.synack.com/blog/untranslocating-apps/" rel="noreferrer" target="_blank">https://www.synack.com/blog/untranslocating-apps/</a><br>
<br>
Forum says signing the dmg or bundle helps (<a href="https://developer.apple.com/forums/thread/133743" rel="noreferrer" target="_blank">https://developer.apple.com/forums/thread/133743</a>):<br>
"<br>
>Another solution is to sign the .dmg file too, that should avoid app translocation if I remember correctly.<br>
Right.<br>
"<br></blockquote><div><br></div><div class="gmail_default" style="font-size:small">This I can help with.  We have to do this for Virtend.  We sign both the app bundle and the DMG.  I guess one can also sign a zip for the all-in-one (since one uploads a zip containing either the app bundle or the dmg).</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">
<br>
We probably have to be tighter in stuff, I just found a "howto":<br>
- <a href="https://developer.apple.com/forums/thread/701581#701581021" rel="noreferrer" target="_blank">https://developer.apple.com/forums/thread/701581#701581021</a><br>
- <a href="https://developer.apple.com/forums/thread/701514#701514021" rel="noreferrer" target="_blank">https://developer.apple.com/forums/thread/701514#701514021</a> (for signing or so…)<br>
<br>
<br>
:( yay more work.<br></blockquote><div><br></div><div class="gmail_default" style="font-size:small">I have scripts etc.  So LMK</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">
<br>
Best regards<br>
        -Tobias<br></blockquote><div><br></div><div class="gmail_default" style="font-size:small">thanks!</div><div class="gmail_default" style="font-size:small"></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">
<br>
> <br>
> Best regards<br>
>         -Tobias<br>
> > <br>
> > Best,<br>
> > Marcel<br>
> >> Am 05.07.2022 21:03:47 schrieb Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>>:<br>
> >> <br>
> >> Hi all,<br>
> >> <br>
> >>     apologies for raining on the parade. Here's what I get when I either launch the Squeak6 app bundle or drop an image on it.  How can this be fixed?  It's not a good default.<br>
> >> <br>
> >>  <br>
> >> <image.png><br>
> >> _,,,^..^,,,_<br>
> >> best, Eliot<br>
<br>
<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><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>