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.master
parent
fc3befebd9
commit
96b8a9ec52
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue