Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS arm64 release faulty #614

Closed
danshapir opened this issue Feb 21, 2022 · 7 comments
Closed

MacOS arm64 release faulty #614

danshapir opened this issue Feb 21, 2022 · 7 comments
Labels
wontfix This will not be worked on

Comments

@danshapir
Copy link

#566

On an M1 Max, can't open once installed, states the program is faulty and needs to be moved to the trash.

@Araxeus
Copy link
Collaborator

Araxeus commented Feb 21, 2022

@th-ch @arunim2405

@arunim2405
Copy link
Contributor

Experiencing the same problem when I install the release, however when I run yarn build:mac:arm64 and use the app in the dist, it runs fine.

@Araxeus
Copy link
Collaborator

Araxeus commented Feb 22, 2022

could be related to code signing?

electron-userland/electron-builder#5850

try running sudo xattr -r -d com.apple.quarantine "/Applications/YouTube Music.app"

@tessi
Copy link

tessi commented Feb 22, 2022

Thanks @Araxeus 💛

sudo xattr -r -d com.apple.quarantine "/Applications/*.app"

This worked for me after experiencing the same error

@Araxeus
Copy link
Collaborator

Araxeus commented Feb 22, 2022

Well this pretty much confirm that the problem is caused by the "macOS gatekeeper" because the app isn't signed/+notarized

(It works when built locally because the OS recognize that it was built locally and is safe)

The way I see it, either someone will have to pay 100$ (yearly...) for an apple license or all users experiencing this will need to manually fix it with the command above

(Unless they agree to waive the cost because this app is nonprofit, see
https://developer.apple.com/support/membership-fee-waiver/)

@kotx
Copy link

kotx commented May 25, 2022

could be related to code signing?

electron-userland/electron-builder#5850

try running sudo xattr -r -d com.apple.quarantine "/Applications/*.app" (replacing * with the filename)

Might be wise to change the *.app to <app name>.app or YouTube Music.app just so people don't accidentally unquarantine every app they have.

@Araxeus
Copy link
Collaborator

Araxeus commented May 25, 2022

Might be wise to change the *.app to <app name>.app or YouTube Music.app just so people don't accidentally unquarantine every app they have.

thanks, fixed it

I've never used mac so for some reason I thought it would keep the version attached to its name 😅

@JellyBrick JellyBrick added the wontfix This will not be worked on label Oct 7, 2023
@JellyBrick JellyBrick closed this as not planned Won't fix, can't repro, duplicate, stale Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

6 participants