2021-02-07 20:15:27 +08:00
|
|
|
;;; app/everywhere/doctor.el -*- lexical-binding: t; -*-
|
|
|
|
|
2023-12-05 17:05:13 -05:00
|
|
|
(when (featurep :system 'windows)
|
2021-02-07 20:15:27 +08:00
|
|
|
(error! "emacs-everywhere package does not support windows."))
|
|
|
|
|
2023-12-05 17:05:13 -05:00
|
|
|
(when (featurep :system 'linux)
|
2021-02-07 20:15:27 +08:00
|
|
|
(let (unmet-deps)
|
|
|
|
(dolist (dep '("xclip" "xdotool" "xprop" "xwininfo"))
|
|
|
|
(unless (executable-find dep)
|
|
|
|
(push dep unmet-deps)))
|
|
|
|
(when unmet-deps
|
|
|
|
(error! "Unmet dependencies: %s" (string-join unmet-deps ", ")))))
|