Skip to content

Commit

Permalink
Merge pull request #304 from Wieku/dev
Browse files Browse the repository at this point in the history
Fix open in explorer not working on linux
  • Loading branch information
Wieku authored Dec 21, 2022
2 parents f11a8b7 + 4d07984 commit e6e4171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/platform/url_others.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func ShowFileInManager(path string) {

switch runtime.GOOS {
case "linux":
err = exec.Command("busctl", "--user", "org.freedesktop.FileManager1", "/org/freedesktop/FileManager1", "org.freedesktop.FileManager1", "ShowItems", "ass", "1", "file://"+path, "").Start()
_, err = exec.Command("busctl", "call", "--user", "org.freedesktop.FileManager1", "/org/freedesktop/FileManager1", "org.freedesktop.FileManager1", "ShowItems", "ass", "1", "file://"+path, "").Output()

if err != nil {
log.Println("Failed to run busctl: ", err)
Expand Down

0 comments on commit e6e4171

Please sign in to comment.