From 96b8a9ec52146d2d80ae030a3040cc0ed9b9b9b9 Mon Sep 17 00:00:00 2001 From: Beq Date: Sat, 27 Jul 2024 05:55:35 +0100 Subject: [PATCH] Modify Firestorm.app embedded path. Based on `http://qin.laya.com/tech_coding_help/dylib_linking.html` (thanks Brad) In the past, I tried this, but I think it failed to find the executable. Given that the change needs to be made to the executable, this should have worked. Trying again, but this time with Contents folder in the right place. --- indra/newview/viewer_manifest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py index 253f2884dc..e0c0061c4e 100755 --- a/indra/newview/viewer_manifest.py +++ b/indra/newview/viewer_manifest.py @@ -1535,7 +1535,8 @@ class Darwin_x86_64_Manifest(ViewerManifest): self.path(libfile) oldpath = os.path.join("@rpath", libfile) - executable = self.dst_path_of(libfile) + executable = self.dst_path_of("Firestorm.app") + print(f"debug: oldpath={oldpath} executable={executable} libfile={libfile}") self.run_command( ['install_name_tool', '-change', oldpath,