fix(platform_helper): Fix get_opener MacOS detection (#21)
This commit is contained in:
@@ -21,7 +21,7 @@ detect_os() {
|
|||||||
get_opener() {
|
get_opener() {
|
||||||
local cmd
|
local cmd
|
||||||
case "$(detect_os)" in
|
case "$(detect_os)" in
|
||||||
darwin) cmd="open"; ;;
|
macos) cmd="open"; ;;
|
||||||
linux) cmd="xdg-open"; ;;
|
linux) cmd="xdg-open"; ;;
|
||||||
windows) cmd="start"; ;;
|
windows) cmd="start"; ;;
|
||||||
*) cmd=""; ;;
|
*) cmd=""; ;;
|
||||||
|
|||||||
Reference in New Issue
Block a user