Thank you for porting this incredibly useful plugin to Godot 4. When I run the Godot 4 version on Linux, I get the error "Unexpected OS: Linux".
Comparing the 3.5 docs to the 4.0 docs shows that the OS.get_name() values for the Unix-like OSes have changed from "OSX", "X11", "Server" to "macOS", "Linux", "FreeBSD", "NetBSD", "OpenBSD", "BSD".
Thank you for porting this incredibly useful plugin to Godot 4. When I run the Godot 4 version on Linux, I get the error "Unexpected OS: Linux".
Comparing the 3.5 docs to the 4.0 docs shows that the
OS.get_name()
values for the Unix-like OSes have changed from"OSX", "X11", "Server"
to"macOS", "Linux", "FreeBSD", "NetBSD", "OpenBSD", "BSD"
.Updating these names in the following line resolves the issue. https://github.com/imjp94/gd-plug/blob/b4ac59b15dec489b70a065c42d2a2ce7f2248e01/addons/gd-plug/plug.gd#L709