Skip to content

Commit 3f8b6d0

Browse files
committed
Fixed self-update url
1 parent ef1fa4a commit 3f8b6d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

captain.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ func SelfUpdate() {
278278

279279
info("Checking the last version of Captain...")
280280
version := findLastVersion()
281-
downloadUrl := fmt.Sprintf("https://github.com/harbur/captain/releases/download/%s/captain-%s-%s", version, kernel, arch)
281+
downloadUrl := fmt.Sprintf("https://github.com/harbur/captain/releases/download/%s/captain_%s_%s", version, kernel, arch)
282282
downloadedVersionPath := filepath.FromSlash(binariesDir + "/captain-" + version)
283283

284284
if currentVersionPath == downloadedVersionPath {

0 commit comments

Comments
 (0)