Function: eca-process--download-url
eca-process--download-url is a natively compiled function defined in
eca-process.el.
Signature
(eca-process--download-url VERSION)
Documentation
Return the server download url for VERSION.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-process.el
(defun eca-process--download-url (version)
"Return the server download url for VERSION."
(or eca-server-download-url
(format "https://github.com/editor-code-assistant/eca/releases/download/%s/eca-native-%s.zip"
version
(let ((arch (car (split-string system-configuration "-"))))
(pcase system-type
('gnu/linux (cond
((string= "x86_64" arch) "static-linux-amd64")
(t (concat "linux-" arch))))
('darwin (concat "macos-"
(cond
((string= "x86_64" arch) "amd64")
(t arch))))
('windows-nt "windows-amd64"))))))