fix(platform_helper): Fix get_opener MacOS detection (#21)

This commit is contained in:
Geoff Lee
2023-12-08 17:30:05 +09:00
committed by GitHub
parent f621f71d33
commit b7347175fe
+1 -1
View File
@@ -21,7 +21,7 @@ detect_os() {
get_opener() {
local cmd
case "$(detect_os)" in
darwin) cmd="open"; ;;
macos) cmd="open"; ;;
linux) cmd="xdg-open"; ;;
windows) cmd="start"; ;;
*) cmd=""; ;;