From 130f3da17280850461cc6d6ea15d781f01fcc0fd Mon Sep 17 00:00:00 2001 From: Faur Ioan-Aurel Date: Mon, 13 Oct 2025 18:46:20 +0300 Subject: [PATCH 1/2] fix: allow x-ms-dos-executable content type On some Windows versions the cli stream comes as application/x-ms-dos-executable. --- CHANGELOG.md | 1 + .../com/coder/toolbox/cli/downloader/CoderDownloadService.kt | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a3aa82..0352205 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ### Fixed - potential race condition that could cause crashes when settings are modified concurrently +- CLI download on some Windows versions ## 0.7.0 - 2025-09-27 diff --git a/src/main/kotlin/com/coder/toolbox/cli/downloader/CoderDownloadService.kt b/src/main/kotlin/com/coder/toolbox/cli/downloader/CoderDownloadService.kt index 468bfd8..2c2e87c 100644 --- a/src/main/kotlin/com/coder/toolbox/cli/downloader/CoderDownloadService.kt +++ b/src/main/kotlin/com/coder/toolbox/cli/downloader/CoderDownloadService.kt @@ -35,6 +35,7 @@ private val SUPPORTED_BIN_MIME_TYPES = listOf( "application/x-winexe", "application/x-msdos-program", "application/x-msdos-executable", + "application/x-ms-dos-executable", "application/vnd.microsoft.portable-executable" ) /** From d6807a55f8227a23e76ea4e223a0b246b6bc0dad Mon Sep 17 00:00:00 2001 From: Faur Ioan-Aurel Date: Mon, 13 Oct 2025 18:47:22 +0300 Subject: [PATCH 2/2] chore: next version is 0.7.1 --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index dc031f5..d1e72be 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ -version=0.7.0 +version=0.7.1 group=com.coder.toolbox name=coder-toolbox \ No newline at end of file