diff --git a/lua/presence/init.lua b/lua/presence/init.lua index 6e68ba2..e8a3d53 100644 --- a/lua/presence/init.lua +++ b/lua/presence/init.lua @@ -183,7 +183,7 @@ end -- Normalize the OS name from uname function Presence.get_os_name(uname) - if uname.sysname:find("Windows") then + if uname.sysname:find("Windows") or uname.sysname:find("MINGW") then return "windows" elseif uname.sysname:find("Darwin") then return "macos"