CartoonChess / among-us-mac

Play Among Us on your Mac
GNU General Public License v3.0
24 stars 1 forks source link

Authorization error during installation #6

Open thibautbenjamin opened 4 years ago

thibautbenjamin commented 4 years ago

I tried using the installer on OSX Catalina and could not proceed to the game installation. Immediately after selecting the file AmongUsMac.zip in the prompt, I get an error message saying

The action "Run AppleScript" encountered an error: "Not authorized to send Apple events to System Events"

After a bit of googling, I found out (https://stackoverflow.com/questions/51299066/macos-mojave-automator-not-authorized-to-send-apple-events-to-system-events) that maybe I was supposed to toggle something on in "Preference System -> Security and Privacy -> Automation", but the application was not showing up in there.

CartoonChess commented 4 years ago

Thanks for that SO link. There’s a lot of different solutions in there to the same problem with reports of varying success. I only had one secondary machine on which to test this code (Catalina doesn’t set off any errors when it’s run on on the same machine where it’s written) and faced all sorts of weird permissions errors, which differed with each build, seemingly at random.

My best suggestion is to try moving the installer, zip (wrapper), and game data to the same folder (try both Downloads and Applications), make sure you’re running as an administrator, and perhaps restart your computer before trying again.

I’ll keep this issue open, as it’s a major concern, but rather tricky to pin down with modern macOS’s security being what it is.

thibautbenjamin commented 4 years ago

Thanks a lot for your reply, unfortunately none of your suggestions did the job for me.

I have the game data on a bootcamp partition, because I bought it with steam, so I copied it in the same folder as the installer, and ran the whole as administrator, but that didn't do the job.

On a sidenote, I also tried to just install it myself from the executable using wineHQ, but it turns out that it is not compatible with Catalina (from what I saw on the website, there is currently no support for macOS wine at all, so only previous developments are working). Could you tell me which tool you used in the installer, maybe I could run it manually.

CartoonChess commented 4 years ago

I’m sorry to hear that. I used a chain of not-entirely-official builds to make the wrapper, which you can find at the bottom of the readme. You might also have some luck unzipping AmongUsMac and placing the game files in the appropriate directory, and maybe running the necessary terminal commands to dequarantine the wrapper and/or Windows executable. That’s all available in the AppleScript here. Good luck!