shortcut for .exe

Questions about Wine on macOS.
Post Reply
eduardo
Level 1
Level 1
Posts: 7
Joined: Fri Jun 29, 2018 12:03 am

shortcut for .exe

Post by eduardo » Thu Jul 05, 2018 4:01 pm

how can i achieve this?

im currently using wine by the terminal so i don't have a right-click option to open .exes. so far i been able to run a game by using the "winefile" cmd and then navigating through the folders to get to my exe. i have gedit installed but haven't had much success. also what is the name of the code used in terminal on the mac? cheers! have a good day.

SetantaLP
Level 2
Level 2
Posts: 33
Joined: Mon Jul 31, 2017 3:55 am

Re: shortcut for .exe

Post by SetantaLP » Fri Jul 06, 2018 8:36 am

The terminal on mac is a bash shell. So if you want to be able to just start the game form the command line without setting the wine version, the prefix and the exe-path manually, use a .sh file.
If you simply want to double-click on something for setting the wine version, the prefix and the exe-path and then start the exe, use a command-file (which is the mac equivalent of the .bat file on windows). But don't forget to give the file executable permissions, because this is required, if you want to be able to start the file with double clicking.

eduardo
Level 1
Level 1
Posts: 7
Joined: Fri Jun 29, 2018 12:03 am

Re: shortcut for .exe

Post by eduardo » Sat Jul 07, 2018 5:54 pm

thanks, i solved this using the automator app.

SetantaLP
Level 2
Level 2
Posts: 33
Joined: Mon Jul 31, 2017 3:55 am

Re: shortcut for .exe

Post by SetantaLP » Mon Jul 09, 2018 2:44 pm

Interesting idea, and probably better than using a command-file, if you are not familiar with the command line.

Post Reply