Ecks1337 / RyuSAK

GNU General Public License v3.0
1.21k stars 77 forks source link

[Fix] “is damaged and can’t be opened. You should move it to the Trash” (Should be in README) #34

Open Diadriu opened 1 year ago

Diadriu commented 1 year ago

Issue The application is unsigned for Mac, and many do not know that you need to disable gatekeeper in order to not get a damaged DMG error.

Solution Disable gatekeeper for the application: Open terminal and enter this line: sudo spctl --master-disable

Also enter this line: xattr -cr /Applications/RyuSAK.app

Suggestion Mention this in the releases page

mthulhu commented 1 year ago

Also a good idea to turn it back on after.

sudo spctl --master-enable

Brawl345 commented 1 year ago

Just right click on the app and click open, no need to disable Gatekeeper.

Wrestor commented 1 year ago

You don't need to turn off gatekeeper(spctl), just run this before opening it: xattr -rc /Applications/RyuSAK.app && codesign --force --deep --sign - /Applications/RyuSAK.app Then it launches without problem

ffashion commented 1 year ago

You don't need to turn off gatekeeper(spctl), just run this before opening it: xattr -rc /Applications/RyuSAK.app && codesign --force --deep --sign - /Applications/RyuSAK.app Then it launches without problem

it's useful

CoFfEe0LaVa commented 10 months ago

Okay, so I am currently developing a Java app, and I want it to be able to be opened by users without the need for xattr -rc.

jamesg1 commented 10 months ago

You don't need to turn off gatekeeper(spctl), just run this before opening it: xattr -rc /Applications/RyuSAK.app && codesign --force --deep --sign - /Applications/RyuSAK.app Then it launches without problem

Thanks worked great