cebby2420 / via-desktop

VIA Desktop is an Electron application designed to provide an offline experience for VIA.
GNU General Public License v3.0
18 stars 0 forks source link

DMG damaged #5

Closed N214 closed 3 weeks ago

N214 commented 3 weeks ago

Apple ARM edition DMG dammaged, cannot open, version v2024.11.5.

cebby2420 commented 3 weeks ago

Have you read the Readme?


From: N214 @.> Sent: Saturday, November 9, 2024 7:46:51 PM To: cebby2420/via-desktop @.> Cc: Subscribed @.***> Subject: [cebby2420/via-desktop] DMG damaged (Issue #5)

Apple ARM edition DMG dammaged, cannot open, version v2024.11.5https://github.com/cebby2420/via-desktop/releases/tag/v2024.11.5.

— Reply to this email directly, view it on GitHubhttps://github.com/cebby2420/via-desktop/issues/5, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATHXQFV4W4KBBEXXXQUMSFTZ7ZKBXAVCNFSM6AAAAABRPMBFI6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGY2DMNBRHEYTEOI. You are receiving this because you are subscribed to this thread.Message ID: @.***>

N214 commented 3 weeks ago

Not referring to that error, the previous version is working fine.

cebby2420 commented 3 weeks ago

I don't entirely understand the error you are getting then. Without some more information I cannot help you. Do you maybe have a screenshot? macOS log files?

Have you tried running the xattr command on the .app? What are the results of that?

N214 commented 3 weeks ago

I have the pop-up below, running the xattr -d com.apple.quarantine path of my app file does solve the issue but I did not do that for the previous release, something changed in this one.

image
cebby2420 commented 3 weeks ago

If you downloaded the x64 instead of the arm64 release then the error was probably not present on the previous version indeed. That first one opens just fine for some reason.

The error is to be expected however, since the build is unsigned.

smiba commented 2 weeks ago

Same issue for me on my arm64 MacBook Pro M3, app is seen as damaged and does not open.

EDIT: Same for v2024.11.5 and v2024.10.28

x64 version works fine, but obviously runs through Rosetta 2

@cebby2420

cebby2420 commented 2 weeks ago

@smiba Did you try the xattr command from the Readme?

Downloading a release for macOS: App is damaged and can't be opened

Gatekeeper on macOS is gatekeeping you from opening this unsigned and unnotarised application. Use a command like the one below to allow your computer to open it.

xattr -d com.apple.quarantine /Users//Downloads/via-desktop.app

smiba commented 2 weeks ago

I'm very sorry, I missed the notice in the readme and was expecting (as the message was not the typical quarantine message) that the solution earlier in this issue was irrelevant to me.

Removing the com.apple.quarantine attribute did fix the ARM64 build for me, incredibly confusing error from Apple's side. Sorry for bothering you!

cebby2420 commented 2 weeks ago

Kind of makes sense to go straight from releases to issues :) I don't believe I can easily add the instructions automatically to each release.

I've create a pinned issue with the earlier posted screenshot and the instructions so that it easier to find.