Add companion application
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
//go:build linux
|
||||
|
||||
package main
|
||||
|
||||
import "os/exec"
|
||||
|
||||
// openOSPath delegates to xdg-open for both files and folders.
|
||||
func openOSPath(p string, isFolder bool) error {
|
||||
return exec.Command("xdg-open", p).Start()
|
||||
}
|
||||
Reference in New Issue
Block a user