gon icon indicating copy to clipboard operation
gon copied to clipboard

bless: The 'openfolder' is not supported on Apple Silicon devices.

Open davidnewhall opened this issue 1 year ago • 1 comments

[david@ajn-im1]00:36:17|~/go/src/github.com/Notifiarr/notifiarr$ /Users/david/go/bin/gon gon.json
==> ✏️  Signing files...
    Code signing successful
==> 📦  Creating dmg...
    This will open Finder windows momentarily.
❗️ Error creating dmg:

error creating dmg:

Creating disk image...
created: /Users/david/go/src/github.com/Notifiarr/notifiarr/rw.notifiarr.dmg
Mounting disk image...
Unmounting disk image...
Mount directory: /Volumes/Notifiarr
Device name:     /dev/disk8
Copying custom files...
./notifiarr
Running Applescript: /usr/bin/osascript "/var/folders/ks/dgpqf8ld1qg5871wcc2fqw340000gn/T/createdmg.tmp.XXXXXXXXXX.Dzo8JSw2" "Notifiarr"
waited 1 seconds for .DS_STORE to be created.
Done running the applescript...
Fixing permissions...
Done fixing permissions.
Blessing started
bless: The 'openfolder' is not supported on Apple Silicon devices.

iMac M1 running macOS 12.4. Installed gon by running: go install github.com/mitchellh/gon/cmd/gon@latest Let me know if I can provide more info. This is the first time I've used this app.

davidnewhall avatar Jul 15 '22 07:07 davidnewhall

This app, with the same configs, works fine on my Intel MacBookPro. EDIT: may be related to #40.

davidnewhall avatar Jul 17 '22 22:07 davidnewhall

seems remove the old option will fix the issue. reference:

https://github.com/create-dmg/create-dmg/issues/127

tomyjwu avatar Nov 16 '22 09:11 tomyjwu

When will reslease come out with this new fix?

KMACEL avatar Nov 18 '22 07:11 KMACEL

gon.zip Here's a build of my fork of gon, which includes the fix for this problem

SubJunk avatar Dec 04 '22 03:12 SubJunk

@SubJunk I just updated create-dmg via homebrew. Is there an additional step I need to take after. I am still receiving the openfolder error

bktexan87 avatar Jan 17 '23 15:01 bktexan87

@bktexan87 I'm not part of this project, I just provided the file in my comment, which is the built version of my fork from https://github.com/UniversalMediaServer/gon

SubJunk avatar Jan 18 '23 05:01 SubJunk

@SubJunk Thank you so much. Your binary is working

KMACEL avatar Jan 24 '23 08:01 KMACEL

Any updates for this? I'm seeing the same error on M1 with MacOS Ventura 13.2.

hover-k8s-updater avatar May 25 '23 20:05 hover-k8s-updater

Commenting the dmg section in the config file also avoids this error message (but you won't have a DMG)

lionello avatar Jul 21 '23 21:07 lionello

I submitted a Pull Request with a fix: https://github.com/mitchellh/gon/pull/73

megavoid avatar Aug 30 '23 07:08 megavoid