You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. Many thanks for providing a great tool for those of us who don't want to use Terminal for this task.
Here's an AppleScript that will copy the SymbolicLinker.service file to the /Library/Services folder, making it even easier for the user to install. Perhaps you could incorporate this into you next build / dmg?
Just place this script in the same folder that you save the SymbolicLinker.service file to, and run the script. It wil ask for confirmation to copy.
use AppleScriptversion"2.4"-- Yosemite (10.10) or later
use scripting additions
setscriptPathtopath tometellapplication"System Events"tosetfolderPathto path of container of disk item (scriptPath astext)
setfilePathto folderPath &"SymbolicLinker.service"tellapplication"Finder"setsourceAliastoalias filePath
setdestFoldertoaliasPOSIX file"/Library/Services"setCRtoreturnsetmsgStrto"CONFIRM:"& CR & CR &"COPY: "& CR & sourceAlias ¬
& CR & CR &"TO: "& destFolder
settitleStrtonameofmedisplay dialog msgStr ¬
with title titleStr ¬
buttons {"Cancel", "OK"} ¬
default button ¬
"OK" cancel button ¬
"Cancel"with icon caution
duplicate sourceAlias to destFolder
open destFolder
end tell
The text was updated successfully, but these errors were encountered:
Surely something like cp SymbolicLinker.service ~/Library/Services would be easier?! Anyway you can install this utility with homebrew-cask: brew cask install symboliclinker…
Hi. Many thanks for providing a great tool for those of us who don't want to use Terminal for this task.
Here's an AppleScript that will copy the SymbolicLinker.service file to the /Library/Services folder, making it even easier for the user to install. Perhaps you could incorporate this into you next build / dmg?
Just place this script in the same folder that you save the SymbolicLinker.service file to, and run the script. It wil ask for confirmation to copy.
The text was updated successfully, but these errors were encountered: