lencx / ChatGPT

đź”® ChatGPT Desktop Application (Mac, Windows and Linux)
https://nofwl.com
51.67k stars 5.8k forks source link

[Doc] Explain why macOS security needs to be bypassed for installation #1232

Open a4v2d4 opened 3 months ago

a4v2d4 commented 3 months ago

Explain why macOS security needs to be bypassed for installation

Using --no-quarantine during installation made me uneasy so I excluded it.

That lead me to the error message "ChatGPT" is damaged and can't be opened. You should move it to the Trash". To which the docs say to run sudo xattr -r -d com.apple.quarantine /YOUR_PATH/ChatGPT.app to fix. That also makes me uneasy.

Could someone explain exactly why this is necessary? Could that be included in the installation instructions?

r0llac0de commented 3 months ago

macOS is pretty damn protective when it comes to software installation, especially from sources outside the App Store When you see that “damaged and can't be opened” message, it's macOS's way of saying, “Hey, I don't know where this came from, and I don't trust it.” This isn't necessarily because there's anything wrong with the app, but because it hasn't gone through Apple's notarization

The reason you need to do these things for some installations is simply because the app hasn't been notarized by Apple. Notarization is a hassle and can be a barrier for smaller developers or those distributing open-source software like this.

a4v2d4 commented 3 months ago

Ah, thank you @r0llac0de, I appreciate the explanation.

Got little paranoid b/c saw some rumblings of previous issues where Windows installations were injecting trojan exe's... I guess that makes sense, though - fuck Apple's walled garden is the moral of the story I suppose.