gurkenlabs / litiengine

LITIENGINE 🕹 The pure 2D java game engine.
https://litiengine.com/
MIT License
731 stars 94 forks source link

Cannot open utiliti UI on Mac OS #790

Closed przemyslawmagiera closed 11 months ago

przemyslawmagiera commented 1 year ago

Describe the bug Cannot open utiliti UI on Mac OS Ventura 13.4

Stack Trace n/a

To Reproduce

  1. Download liteengine sdk 0.5.2-beta-macos
  2. Unzip, open the litiengine-utiliti
  3. Mac shows window "can't open app" or after "chmod +x litiengine-utiliti" "app is broken(damaged)"

Expected behavior UI opens.

Screenshots n/a

Your System:

Additional context Add any other context about the problem here.

github-actions[bot] commented 1 year ago

Thank you for your reporting your first LITIENGINE issue! We are looking forward to your further contributions.

nightm4re94 commented 1 year ago

We can't currently reproduce this yet, but at least we are purchasing a preowned Mac soon to be able to test on MacOS.

iamllcoolray commented 1 year ago

Were you all able to identify the cause of the bug?

System:

Screenshot:

utiliti-can't-be-opened
iamllcoolray commented 12 months ago

So I found a solution that should fix the permissions of utiLITI on macOS.

The command that I ran in the terminal:

chmod +x /Applications/litiengine-sdk-v0.5.2-beta-macos/utiliti/litiengine-utiliti.app/Contents/MacOS/*

Results:

Screen Shot 2023-10-08 at 10 55 07 AM

System:

How I was able to update the permissions for utiLITI

nightm4re94 commented 12 months ago

oh, that's awesome! Where do you think Mac users can benefit from this information the most? I want to add this to the documentation somewhere.

iamllcoolray commented 12 months ago

There could be a subsection that lets Mac users know how to give utiLITI executable permissions.

I see multiple places that may be great to inform Mac users (one, some or all of these places could be helpful):

e.g.

If you're on Mac after you download utiLITI you will have to execute this command below in Terminal to give executable permissions to utiLITI: (make sure to replace the Xs with the correct version number listed on the folder)

chmod +x /Applications/litiengine-sdk-vX.X.X-beta-macos/utiliti/litiengine-utiliti.app/Contents/MacOS/*
nightm4re94 commented 12 months ago

Thank you so much for the input!

iamllcoolray commented 12 months ago

No problem anytime.