Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

> Open `Terminal.app`, usually located in Applications/Utilities, then run the following command, assuming you downloaded the application to your downloads folder, and unzipped it, so you have the plain .app file (if not, replace ~/Downloads/ with the name of the directory you downloaded it to):

> cd ~/Downloads/Digital\ Logic\ Sim/Contents/MacOS && chmod +x Digital\ Logic\ Sim && exit

> The terminal window should close, and the app should now open.

No absolutely not, this is not always a "fix it every time" solution.  Firstly, it really looks like you just copied a solution from someone else, as you clearly don't understand what this is doing, or there wouldn't be a "Secondly".

Secondly, no one should EVER run a command in terminal in MacOS or Linux/Unix environment and && an exit to it.  This isn't Windows, this is Linux/Unix.  You WANT to read the response for the command, even when its what you expect.  Because there is an off chance that the response isn't what you wanted, and now you'll have an actual error to use to find out why.  In the case of chmod, the only response you'll get, other than being prompted for your next command, WILL be an error.  Blindly exiting commands like this is how you get what's in one of the replies "No this didn't work and I don't know why", (blindly copying and pasting commands is also a way to get this, because chmod +x is not always going to make something executable to *you*, but whatever account level the terminal is currently at).

You need to edit your instructions: remove the `&& exit` from the commands (as a matter of fact, seperate the `cd Directory/to/executable` and `chmod` commands into multiple lines in the first place, because depending on the account level of the user, they may also need to elevate to an administrator/root level account to even run chmod in that directory), and either explain what you're doing here, or link to how you found out to do this so others following along can get the "why".


cd - simple, changes directory to whatever follows if the directory is valid, in this case home/Downloads/Digital\ Logic\ Sim/Contents/MacOS (note: \ is required because terminal emulators do NOT obey spaces as spaces, but as separators for commands/arguments)

chmod - CHanges the Mode of file operation between Read, Write and eXectution or a combination of the options.  use + to add the mode, and - to remove the mode.  Can use the format of +rwxrwxrwx (for all account levels, usually used with root), +[r][w][x] for current account level changes (where [] can be left out (but one of these must be present)) based on the account level of the current terminal window (not the account logged in to the OS !!), or in digit format, with +777 adding r, w, and x permissions to all accessible account levels.

exit - closes the terminal window

&& - requires a valid command (with arguments if necessary) on both the left and right side - will immediately run the command on the right once the command on the left has finished execution (and only then) as long as the terminal is not closed by that command.. it should not be used by lazy users/noobs just trying to save time, but by people who know what they are doing (knowing to type commands is not qualification, knowing what the commands DO and expected outcomes to look out for is also required) as the next command WILL happen even if the first one ends in an error state, as long as the first command is valid (i.e. if you cd into an invalid directory && pwd, pwd will still print the current directory after cd complains that no such directory exists)