Commit b8c221de authored by trappn's avatar trappn
Browse files

added OSX workaround

parent c8eded36
# Olex2 macro integration is not yet propagated to main release.
# For now, copy this to your <Olex2-directory>\macro.xld file:
# For now, copy this to your <Olex2-directory>\macro.xld file (WINDOWS & LINUX):
<zsgh help="Starts the Zurich Space Group Helper if installed on your machine"
......@@ -13,7 +13,24 @@
>
>
# EDIT 17.02.2019 (Nils): Running the program on Mac OSX from within Olex2 is
# not possible with this macro. Please do not bother to try, I'll try to resolve
# the issue.
# You can still run the program from a terminal on Mac.
\ No newline at end of file
# EDIT 18.02.2019 (Nils) --- INSTRUCTIONS FOR OLEX2 ON MAC OSX:
# This was tested on current OSX 10.14 with unmodified Olex2 after fresh install
# 1. copy zsgh-wrapper.sh and zsgh to some directory (I use /usr/local/bin)
# and make sure both files are executable (chmod +x zsgh*)
# 2. in Olex2 "Home" tab, open "Settings" and go to PATH, enter the directory
# containing the zsgh files there. If there is already one entry, separate
# the entries with ";". Click once outside the field and close Olex2.
# 3. right-click the olex2.app in the "Programs" tab of OSX, and select
# "show package contents". In Contents/MacOS, add the following macro to
# "macro.xld" (neither at top nor bottom, a good place is right below the
# "xprep" macro). Then restart Olex.
<zsgh help="Starts the Zurich Space Group Helper if installed on your machine"
<body
<args
<arg1 name="file" def='filepath()/filename()'>
>
<cmd
<cmd1 "exec bash 'zsgh-wrapper.sh' %1">
>
>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment