Skip to content

Commit 9abb2b1

Browse files
authored
Fixing version check before downloading dcli
1 parent 7df9af3 commit 9abb2b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Install.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ param (
55
# Function to get the installed dcli version
66
function Get-InstalledDcliVersion {
77
try {
8-
$output = & dcli -v 2>$null
8+
$output = & "C:\Program Files\Dcode\dcli.exe" -v 2>$null
99
if ($output -match 'dcli version (\d+\.\d+\.\d+)') {
1010
return $matches[1]
1111
}

0 commit comments

Comments
 (0)