diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-09-12 16:56:05 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-09-12 16:56:05 -0400 |
commit | d6f3f20af6cccf53746cbf1fdf39bc4e235c4f0d (patch) | |
tree | 2bc0680a38b3e9be661ace1bb659807e5fd0e127 /scripts | |
parent | 1b7fdac4689e29ec3f64c37f10b843a114d7805d (diff) |
Convenience tweak for passing a Mac "Second Life Mumble.app" bundle
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/perf/frame_profile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/perf/frame_profile b/scripts/perf/frame_profile index 75bf0a3105..0a4e0a74ff 100755 --- a/scripts/perf/frame_profile +++ b/scripts/perf/frame_profile @@ -1,4 +1,10 @@ #!/usr/bin/env bash -"$1" --autologin --luafile frame_profile_quit.lua \ +exe="$1" +if [[ "$OSTYPE" == darwin* && -d "$exe" && "$exe" == *.app ]] +then + exe="$(ls "$exe/Contents/MacOS/Second Life "*)" +fi + +"$exe" --autologin --luafile frame_profile_quit.lua \ http://maps.secondlife.com/secondlife/Bug%20Island/220/224/27 |