Changeset 15365
- Timestamp:
- May 17, 2012, 9:28:02 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/source/cocoa-ide/start.lisp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/cocoa-ide/start.lisp
r15350 r15365 32 32 (let* ((path (ccl::ccl-directory)) 33 33 (dir (pathname-directory path))) 34 (if (equalp (last dir 2) '("Contents" "MacOS"))34 (if (equalp (last dir 3) '("Contents" "Resources" "ccl")) 35 35 (make-pathname :directory (butlast dir 3)) 36 36 path))) … … 137 137 #-cocotron 138 138 (ccl::touch bundle-path) 139 140 (let ((image-file (make-pathname :name (ccl::standard-kernel-name) :type nil :version nil 141 :defaults (merge-pathnames (format nil";Contents;~a;" #+darwin-target "MacOS" #+cocotron "Windows") bundle-path)))) 139 (let ((kernel-file (make-pathname :name (ccl::standard-kernel-name) 140 :type nil 141 :version nil 142 :defaults (merge-pathnames 143 #+darwin-target 144 ";Contents;MacOS;" 145 #+cocotron 146 ";Contents;Windows;" 147 bundle-path))) 148 (image-file (make-pathname :name (ccl::standard-kernel-name) 149 :type "image" 150 :version nil 151 :defaults (merge-pathnames 152 ";Contents;Resources;ccl;" 153 bundle-path)))) 142 154 (format *error-output* "~2%Saving application to ~a~2%" (truename bundle-path)) 143 155 (force-output *error-output*) 144 156 (ensure-directories-exist image-file) 157 (ccl:copy-file (ccl::kernel-path) kernel-file :if-exists :supersede 158 :preserve-attributes t) 145 159 (save-application image-file 146 :prepend-kernel t147 160 :application-class 'cocoa-ide 148 161 #+windows-target #+windows-target
Note:
See TracChangeset
for help on using the changeset viewer.
