Function: ghostel--windows-support-assets
ghostel--windows-support-assets is a natively compiled function
defined in ghostel-module-install.el.
Signature
(ghostel--windows-support-assets)
Documentation
Return side-by-side ConPTY release asset mappings for Windows, or nil.
Each mapping is an (ASSET-NAME . RELATIVE-DESTINATION) pair.
Source Code
;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel-module-install.el
(defun ghostel--windows-support-assets ()
"Return side-by-side ConPTY release asset mappings for Windows, or nil.
Each mapping is an (ASSET-NAME . RELATIVE-DESTINATION) pair."
(when (eq system-type 'windows-nt)
(when-let* ((tag (ghostel--module-platform-tag))
(arch (car (split-string tag "-"))))
(let ((hosts (pcase arch
("x86" '("x86" "x64" "arm64"))
("x86_64" '("x64" "arm64"))
("aarch64" '("arm64")))))
(when hosts
(cons (cons (format "ghostel-conpty-%s.dll" tag) "conpty.dll")
(mapcar (lambda (host)
(cons (format "ghostel-openconsole-%s-%s.exe" tag host)
(format "%s/OpenConsole.exe" host)))
hosts)))))))