diff --git a/contrib/ui/mesh-ui/webview_other.go b/contrib/ui/mesh-ui/webview_other.go index 313ad87f..e4365ad5 100644 --- a/contrib/ui/mesh-ui/webview_other.go +++ b/contrib/ui/mesh-ui/webview_other.go @@ -3,5 +3,16 @@ package main +import "os" + +func get_user_home_path() string { + path, exists := os.LookupEnv("HOME") + if exists { + return path + } else { + return "" + } +} + func Console(show bool) { }