From d6f3f20af6cccf53746cbf1fdf39bc4e235c4f0d Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Thu, 12 Sep 2024 16:56:05 -0400 Subject: Convenience tweak for passing a Mac "Second Life Mumble.app" bundle --- scripts/perf/frame_profile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'scripts/perf') 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 -- cgit v1.2.3