cocoa: distinguish CFBundleIdentifier for 64-bit vs. 32-bit apps
This is another attempt at fixing PR 12135
This commit is contained in:
parent
9d4fcd8e84
commit
28afc4490e
|
@ -175,7 +175,14 @@
|
|||
creator
|
||||
|
||||
"CFBundleIdentifier"
|
||||
(format "org.racket-lang.~a" (path->string name)))]
|
||||
(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"
|
||||
"")))]
|
||||
[new-plist (if uti-exports
|
||||
(plist-replace
|
||||
new-plist
|
||||
|
|
|
@ -86,7 +86,11 @@
|
|||
(assoc-pair "CFBundleExecutable"
|
||||
,app-name)
|
||||
(assoc-pair "CFBundleIdentifier"
|
||||
,(format "org.racket-lang.~a" app-name))
|
||||
,(format "org.racket-lang.~a~a" app-name
|
||||
(if (fixnum? (expt 2 32))
|
||||
;; See comment on similar code in compiler/embed-unit:
|
||||
"-64"
|
||||
"")))
|
||||
,@(if app?
|
||||
`((assoc-pair "CFBundleIconFile"
|
||||
,app-name))
|
||||
|
|
Loading…
Reference in New Issue
Block a user