MacOs/Arm64: Try to fix shortcuts#16125
Conversation
|
Desktop shortcut creation itself would be fine after PR #16120 sorted out icon creation, the remaining issues are with launching them on arm64 (prompts for Rosetta on master) and creating Launchpad shortcuts (doesn’t create necessary directories if not present), those are what this PR targets fixing so you should test those two things. |
Bildschirmaufnahme.2024-09-26.um.16.59.47.movcreate and start works for me. |
|
Ran some tests on my M2 MacBook Air that does not have Rosetta installed, Launchpad shortcuts now create successfully without issue even if the user Applications dir doesn't already exist, and all shortcuts now launch fine on arm64 without prompting for Rosetta, so that solves the issues listed in #16017. The only nitpick I'll mention (not affected by changes made in this PR, may file as a separate issue) is the shortcut's launcher script specifies the exact path of RPCS3 (e.g. open "/Applications/RPCS3.app") which may break if the bundle is moved. macOS has a means to avoid this as you can use -b to specify bundle IDs instead of app names/paths in the open command (e.g. open -b net.rpcs3.rpcs3) so that should ensure RPCS3 is opened no matter where the bundle is located. |


maybe fixes #16017