diff --git a/Darwin/KVASD-installer/KVASD-installer/WSJTAppDelegate.applescript b/Darwin/KVASD-installer/KVASD-installer/WSJTAppDelegate.applescript index 3306f58ed..3b87e9a76 100644 --- a/Darwin/KVASD-installer/KVASD-installer/WSJTAppDelegate.applescript +++ b/Darwin/KVASD-installer/KVASD-installer/WSJTAppDelegate.applescript @@ -140,13 +140,7 @@ script WSJTAppDelegate try set target to installRoot & "/Contents/MacOS/" & kvasd's targetName do shell script "cp " & kvasd's destination() & kvasd's targetName & space & target - repeat with theLine in paragraphs of (do shell script "otool -L " & target) - if theLine contains ".dylib" and not theLine contains "libSystem" then - set theDylib to 2nd item of split(theLine,{tab,space}) - do shell script "install_name_tool -change " & theDylib & " @executable_path/" & last item of split(theDylib,{"/"}) & space & target - end if - end repeat - log do shell script "chmod +x " & target + do shell script "chmod +x " & target display alert "KVASD installed into application bundle:" & return & return & installRoot ¬ buttons {"Ok"} default button "Ok" ¬ giving up after 5 diff --git a/contrib/Darwin/KVASD-installer.app/Contents/MacOS/KVASD-installer b/contrib/Darwin/KVASD-installer.app/Contents/MacOS/KVASD-installer index a41411acb..248a9b3f7 100755 Binary files a/contrib/Darwin/KVASD-installer.app/Contents/MacOS/KVASD-installer and b/contrib/Darwin/KVASD-installer.app/Contents/MacOS/KVASD-installer differ diff --git a/contrib/Darwin/KVASD-installer.app/Contents/Resources/WSJTAppDelegate.scpt b/contrib/Darwin/KVASD-installer.app/Contents/Resources/WSJTAppDelegate.scpt index b0805d289..d8789aa07 100644 Binary files a/contrib/Darwin/KVASD-installer.app/Contents/Resources/WSJTAppDelegate.scpt and b/contrib/Darwin/KVASD-installer.app/Contents/Resources/WSJTAppDelegate.scpt differ