Re: [hatari-devel] Hatari macOS builds - handover need?

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Chris,

This binary shows a different message than I usually see for an unsigned application. However, as you mentioned, as soon as I did “xattr -c <app bundle>”. The program only asked me for permission to my Documents folder (where my GEMDOS disk directory is located) once. It also asked for permission to my Downloads folder (where the binary was located).

Hopefully, the automated nightly binary can be made to work like this.

Bob C

On Apr 25, 2023, at 1:39 PM, Chris Jenkins <cdpjenkins@xxxxxxxxx> wrote:

I've tried the right-click open method multiple times on two different Macs. Same result on both, alas. 

On Tue, 25 Apr 2023 at 21:36, Bob Carpenter <hatari@xxxxxxxxxx> wrote:
Chris,

I will try the binary when I get home, but did you try opening the binary twice with the right-click open method? I have had luck doing this in the past with non-developer certificate signed applications. 

Bob C

On Tue, Apr 25, 2023, at 11:59 AM, Chris Jenkins wrote:


Great! Isn‘t it possible to open it using right click - open?
No, if I don't remove the quarantine attribute then it isn't even possible to right click and open :-(


 

Am 25.04.2023 um 20:44 schrieb Chris Jenkins <cdpjenkins@xxxxxxxxx>:

Yes, that launches successfully (on my M1 Mac).

I had to use xattr to remove the com.apple.quarantine attribute before I could run it (MacOS tells me that it's "damaged" if I don't do that!) but it then ran fine.

I don't see repeated requests for permissions either :-)

On Tue, 25 Apr 2023 at 18:17, Andreas Grabher <andreas_g86@xxxxxxxxxx> wrote:


Am 24.04.2023 um 19:59 schrieb Andreas Grabher <andreas_g86@xxxxxxxxxx>:



Am 24.04.2023 um 19:52 schrieb Troed Sångberg <troed@xxxxxxxxxxx>:

Indeed this is why I sponsored Hatari with a cert for my builds.

Let me see how to handle forwards. 



On Mon, Apr 24, 2023 at 19:41, Thomas Huth <th.huth@xxxxxxxxx> wrote:
On 23/04/2023 22.38, Chris Jenkins wrote:
>
> > It works, with caveats:
> > - Hatari starts ok if I right click and click Open. It's unsigned so
> I have
> > to open it that way.
>
> That only happens during the first time you run the app, right? Or does
> that happen every time you try to run the app?
>
>
> This happens every time I run the app.
[...]
> One thing I should add: this Hatari binary asks for permission to use my
> microphone every time that I launch it :-(. So I assume that's another
> permission that has to be granted every time that the unsigned app is launched.

Hmm, this all sounds like providing unsigned apps is too annoying nowadays
on macOS. I guess I should rather stop my experiments with cirrus-CI here
and let somebody else handle the macOS builds instead who has a proper
developer ID from Apple. (And no, I certainly won't get one on my own - I
certainly won't pay 99$ a year for something that I'm not using on my own)

Thomas

You don‘t need a paid ID for signing. Just follow the instructions from my previous message and you will end up with a distributable binary. It will only ask once for every permission (first start, first time microphone used, first access to certain folders). 

Any issues with this binary for macOS (universal binary, macOS 10.13 or later, PNG and SDL2 included)?





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/