Skip to content

Commit

Permalink
Handle MINGW32_NT-10.0 sysname of MSYS2 on Windows (#145)
Browse files Browse the repository at this point in the history
* fix: use in msys2

* check substring
  • Loading branch information
Drunk-Dream authored Feb 14, 2024
1 parent 103da3c commit cd5913f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/codeium/io.lua
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ function M.get_system_info()
os = "linux"
elseif os == "Darwin" then
os = "macos"
elseif os == "Windows_NT" then
elseif os == "Windows_NT" or string.find(os, "MINGW32_NT") then
os = "windows"
else
require("codeium.notify").warn("Unknown sysname: ", os)
Expand Down

0 comments on commit cd5913f

Please sign in to comment.