Skip to content

Commit c3bcd10

Browse files
authored
Merge pull request #63 from MrnoRac/feature/ark-support
Support for ark as the unzipper
2 parents d395398 + 2c768a4 commit c3bcd10

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

eca-process.el

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ If not provided, download and start eca automatically."
6666
(defconst eca-ext-unzip-script "bash -c 'mkdir -p %2$s && unzip -qq -o %1$s -d %2$s'"
6767
"Unzip script to unzip file.")
6868

69+
(defconst eca-ext-ark-script "bash -c 'mkdir -p %2$s && ark -b -o %2$s %1$s'"
70+
"Ark script to unzip file.")
71+
6972
(defcustom eca-unzip-script (lambda ()
7073
(cond ((and (eq system-type 'windows-nt)
7174
(executable-find "pwsh"))
@@ -75,6 +78,7 @@ If not provided, download and start eca automatically."
7578
eca-ext-powershell-script)
7679
((executable-find "unzip") eca-ext-unzip-script)
7780
((executable-find "pwsh") eca-ext-pwsh-script)
81+
((executable-find "ark") eca-ext-ark-script)
7882
(t nil)))
7983
"The script to unzip downloaded eca server."
8084
:group 'eca

0 commit comments

Comments
 (0)