cocoa: undo hack of "-64" suffix on app names

Commit 60101618db seems to address the real problem.
This commit is contained in:
Matthew Flatt 2011-10-07 08:04:47 -06:00
parent 60101618db
commit add50ab436
2 changed files with 2 additions and 13 deletions

View File

@ -175,14 +175,7 @@
creator
"CFBundleIdentifier"
(format "org.racket-lang.~a~a"
(path->string name)
(if (fixnum? (expt 2 32))
;; Add a "-64" suffix for 64-bit, because Lion seems
;; to get confused by 32-bit and 64-bit apps with the same
;; id (see PR 12135)
"-64"
"")))]
(format "org.racket-lang.~a" (path->string name)))]
[new-plist (if uti-exports
(plist-replace
new-plist

View File

@ -86,11 +86,7 @@
(assoc-pair "CFBundleExecutable"
,app-name)
(assoc-pair "CFBundleIdentifier"
,(format "org.racket-lang.~a~a" app-name
(if (fixnum? (expt 2 32))
;; See comment on similar code in compiler/embed-unit:
"-64"
"")))
,(format "org.racket-lang.~a" app-name))
,@(if app?
`((assoc-pair "CFBundleIconFile"
,app-name))