bin/doom patch-macos: show "Patching X" message
This commit is contained in:
parent
6b91039283
commit
08c09c2898
1 changed files with 1 additions and 0 deletions
|
@ -367,6 +367,7 @@ packages and regenerates the autoloads file."
|
||||||
((or doom-auto-accept
|
((or doom-auto-accept
|
||||||
(y-or-n-p (concat "/Applications/Emacs.app needs to be patched. See `bin/doom help patch-macos' for why and how.\n\n"
|
(y-or-n-p (concat "/Applications/Emacs.app needs to be patched. See `bin/doom help patch-macos' for why and how.\n\n"
|
||||||
"Patch Emacs.app?")))
|
"Patch Emacs.app?")))
|
||||||
|
(message "Patching '%s'" appdir)
|
||||||
(copy-file oldbin newbin nil nil nil 'preserve-permissions)
|
(copy-file oldbin newbin nil nil nil 'preserve-permissions)
|
||||||
(unless (file-exists-p newbin)
|
(unless (file-exists-p newbin)
|
||||||
(error "Failed to copy %s to %s" oldbin newbin))
|
(error "Failed to copy %s to %s" oldbin newbin))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue