diff --git a/lua/presence/init.lua b/lua/presence/init.lua index 1d2aefe..c3b31c1 100644 --- a/lua/presence/init.lua +++ b/lua/presence/init.lua @@ -181,7 +181,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"