tmdh / laravel-kit

A desktop Laravel admin panel app
https://tmdh.github.io/laravel-kit/
GNU General Public License v2.0
1.26k stars 137 forks source link

“Laravel Kit.app” is damaged and can’t be opened. You should move it to the Bin. #45

Closed hopkins385 closed 1 year ago

hopkins385 commented 1 year ago

Hi, on my Mac I get this error message after I ran yesterday brew upgrade.

“Laravel Kit.app” is damaged and can’t be opened. You should move it to the Bin.

Laravel-Kit App 2.0.7 MacOs Monterey 12.6 Homebrew 3.6.4

tmdh commented 1 year ago

intel or m1 mac?

hopkins385 commented 1 year ago

M1 Mac

evaleries commented 1 year ago

Can confirm this issue. For the workaround, you can install from DMG file on GitHub release page.

Click me for the solution You will see this pop up. image To address this issue, you can follow these steps 1. Click Cancel if you still see the pop-up. 1. Open Security & Privacy from System Preferences. 2. Click General Tab, down there you will see “Open Anyway” button. 3. Click that button and click Open. Running well on macOS Monterey 12.6 (M1) image Alternatively, you can run `xattr -cr /Applications/Laravel\ Kit.app` (untested)
tmdh commented 1 year ago

Well, I will probably remove the zip releases, and replace zips with dmgs in hombrew-casks. Will that fix the issue? I don't have a Mac. (RFC)

evaleries commented 1 year ago

I'm not sure, but I'm willing to test.

tmdh commented 1 year ago

I have updated the Homebrew cask. Can you please test the latest update with brew @evaleries ?

evaleries commented 1 year ago

Unfortunately, this solution doesn't work 😞 Image

tmdh commented 1 year ago

Does running xattr -d com.apple.quarantine /Applications/Laravel Kit.app fixes it?

evaleries commented 1 year ago

xattr -d com.apple.quarantine /Applications/Laravel Kit.app

Yes it works. xattr -d com.apple.quarantine '/Applications/Laravel Kit.app'

tmdh commented 1 year ago

Also, can you please check if brew install laravel-kit --no-quarantine works? If this works, I will add it to README.

tmdh commented 1 year ago

Thanks for testing. I updated the installation instructions in README.