Don't show dialog box when run from terminal (#2560)

This commit is contained in:
WithoutPants
2022-05-05 11:30:10 +10:00
committed by GitHub
parent 727644fab3
commit d77f47824c
2 changed files with 1 additions and 4 deletions

View File

@@ -1,7 +1,6 @@
package desktop
import (
"fmt"
"io/ioutil"
"os"
"path"
@@ -64,7 +63,6 @@ func SendNotification(title string, text string) {
func IsDesktop() bool {
if isDoubleClickLaunched() {
fmt.Println("double click launched")
return true
}