/tmp/save-config.lisp
containing:(in-package "CL-USER")
(load-all-patches)
(load "/tmp/my-configuration.lisp")
#+:cocoa
(save-image-with-bundle "/Applications/My LispWorks/LW")
#-:cocoa
(save-image "my-lispworks-gtk")
Note: This will create a non-universal binary, containing only the architecture on which you call
save-image
.
% cd "/Applications/LispWorks 6.0/LispWorks.app/Contents/MacOS"
or for the X11/GTK+ LispWorks image:
% cd "/Applications/LispWorks 6.0"
% ./lispworks-6-0-0-macos-universal -build /tmp/save-config.lisp
% ./lispworks-6-0-0-macos-universal-gtk -build
/tmp/save-config.lisp
If the image will not run at this stage, it is probably not finding a valid key.
You can now use the new
My LispWorks/LW.app
application bundle or the
my-lispworks-gtk
image by starting it just as you did the supplied LispWorks. The supplied LispWorks is not required after the configuration process has been successfully completed.
Do not try to save a new image over an image that is currently running. Instead, save an image under a unique name, and then, if necessary, replace the new image with the old one after the call to
save-image
has returned.