domschl / WinSteamOnMac

Run the Windows version of Steam on macOS Sonoma with Apple's Game Porting Toolkit
161 stars 6 forks source link

Do not use the placeholder "your-user-name" #4

Closed AlexeyPechnikov closed 9 months ago

AlexeyPechnikov commented 10 months ago

Replace it using $(whoami) to automatically detect username in terminal.

cdtj commented 9 months ago

created pull request upon the issue

https://github.com/domschl/WinSteamOnMac/pull/7

domschl commented 9 months ago

Sorry I had done conflicting edits, but I took both of your advices and eliminated the your-user-name simply using ~ instead of /Users/<your-user-name.

Thank you!

cdtj commented 9 months ago

haha, that's even better :)

AlexeyPechnikov commented 9 months ago

Please pay attention that “~” does not work always because it depends on shell substitution. It would be valuable to note that user might replace it to the hard-coded path in case of issues in Apple shortcuts, etc.

domschl commented 9 months ago

You are right in general, that was one of the reasons why I was lazy with your-user-name in the first place ;-)

I've tested the ~ in shortcuts and it seems to work fine!