I have a game that they never released for mac, and I installed the game using WINE, the install itself was flawless, but every time I want to play it, I'm forced to open Terminal and run

cd /Users/Max/.wine/drive_c/Program\ Files/Electronic\ Arts/Dead\ Space/
wine Dead\ Space.exe

I saw a question that I thought would answer this using applescript, but when i tried to duplicate the example, it didn't work. I'm sure the information I've given is enough to start the answer to my problem, if not, just let me know. Thanks

4 Answers 4


This is perhaps "heavier" than Vincent's solution, but you can create a new Automator document and set type as Application.

In the Actions, search for "shell" and drag "Run Shell Script" over to the workflow on the right. Then just enter your commands. Save it and it will be an OS X application that you can put on your Dock like any other.

This might be easier to edit later, and it's good to be familiar with Automator and what it can do :D

Automator document

  • This one worked for making Notepad++ as an app without opening ugly terminal window Commented May 29, 2022 at 10:32

create the following plain text file:

cd /Users/Max/.wine/drive_c/Program\ Files/Electronic\ Arts/Dead\ Space/
exec wine Dead\ Space.exe

save it as dead_space.command

in Terminal, change it to an executabe:

sudo chmod +rx dead_space.command

Now, the file dead_space.command should start your game when you double click on it.

  • I'm not to experienced in using terminal, how would I go about changing it?
    – Max
    Commented Dec 2, 2013 at 3:49
  • forgot to tag in my comment
    – Max
    Commented Dec 2, 2013 at 3:57
  • My bad i went and looked it up and found it I didn't realize you had it posted right there.. Thanks a bunch... While I've got you here is there anyway I can change that Icon to a different one on the executable?
    – Max
    Commented Dec 2, 2013 at 4:13
  • 1
    I actually figured that one out moments ago... but one thing I cant seem to figure out is how to get it on the dock... I can put it near my downloads stack and trash, but I want it to look like an application icon, you know... like it would belong with my other games like wow/diablo, ect. Another question I'd like to ask along with that is if there is a way to make a stack with a changed icon specifically for games... like you know downloads, but with all my game.app files as well as my homeade executables... Thanks for the info, btw!
    – Max
    Commented Dec 2, 2013 at 4:43
  • 1
    I got the appify author to fix their dead link. I also backed up appify.sh to a permanent URL gist.github.com/air/a0d495966288303dd202
    – Air
    Commented Jul 16, 2014 at 20:55

If you use Automator like @iynque said, you'll end up with an .app Then you can change the icon on the .app you created by creating an icns file here: https://iconverticons.com/online/ (just drag & drop).

Then right-click your app, do "Get Info" and on the info window, drag and drop your icns file onto the existing icon for the app.

Here is an example of an automator script that resets my DNS, used my horse as an icon 8-P. enter image description here


You can use WineBottler app which can create Windows-based programs as macOS apps.

It also comes with Wine.app, so you can just choose executable files to be opened by Wine without typing the commands in Terminal each time.

Another way is to install Wine.app via Brew Cask, e.g. brew cask install wine-stable.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .