Skip to content

Commit 77f7835

Browse files
authored
fix: allow x-ms-dos-executable content type (#207)
On some Windows versions the cli stream comes as application/x-ms-dos-executable. - resolves #187
1 parent a8bff3e commit 77f7835

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Fixed
66

77
- potential race condition that could cause crashes when settings are modified concurrently
8+
- CLI download on some Windows versions
89

910
## 0.7.0 - 2025-09-27
1011

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
version=0.7.0
1+
version=0.7.1
22
group=com.coder.toolbox
33
name=coder-toolbox

src/main/kotlin/com/coder/toolbox/cli/downloader/CoderDownloadService.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ private val SUPPORTED_BIN_MIME_TYPES = listOf(
3535
"application/x-winexe",
3636
"application/x-msdos-program",
3737
"application/x-msdos-executable",
38+
"application/x-ms-dos-executable",
3839
"application/vnd.microsoft.portable-executable"
3940
)
4041
/**

0 commit comments

Comments
 (0)