mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 15:01:16 +01:00
macOS: Fix deploy-mac.py which fails when no dylib path has to be changed
This commit is contained in:
parent
f1e9c01796
commit
4f4b2f15d3
@ -120,6 +120,9 @@ def updateMachO(bin, execPath, root):
|
|||||||
print('Updating Mach-O id from {} to {}...'.format(oldExecPath, newExecPath))
|
print('Updating Mach-O id from {} to {}...'.format(oldExecPath, newExecPath))
|
||||||
args.extend(['-id', newExecPath])
|
args.extend(['-id', newExecPath])
|
||||||
args.append(bin)
|
args.append(bin)
|
||||||
|
|
||||||
|
# Check we actually have to update some paths
|
||||||
|
if len(args) > 2:
|
||||||
subprocess.check_call(args)
|
subprocess.check_call(args)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user