I have installed a program via wine, and am trying to put an icon for it in the doc. I found instructions for how to do it-- I need to make a script for launching the program and put that script in the doc. Here is the script I need to make via AppleScript Editor
But in the above code I need to need to replace $PATH_TO_PROGRAM with the path from the Program Files directory to your program executable. I have spent the last hour googling about finding hidden files and system files in mac, and although I activated those options I still can't find the "c-drive" which wine has made, along with the program files located there. I just need to find the pathway to the .exe file to put it into the above code. What is the way to do this in mac?
Code:
tell application "Terminal"
do script "/opt/local/bin/wine ~/.wine/drive_c/Program\\ Files/$PATH_TO_PROGRAM.exe"
end tell
But in the above code I need to need to replace $PATH_TO_PROGRAM with the path from the Program Files directory to your program executable. I have spent the last hour googling about finding hidden files and system files in mac, and although I activated those options I still can't find the "c-drive" which wine has made, along with the program files located there. I just need to find the pathway to the .exe file to put it into the above code. What is the way to do this in mac?