mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-01-18 21:17:59 +00:00
Do not beep on windows
This commit is contained in:
parent
a3df489beb
commit
c758ad27ed
@ -187,5 +187,8 @@ func (a *App) OpenDirectory(id, title string) string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (a *App) Beep() {
|
func (a *App) Beep() {
|
||||||
|
if runtime.GOOS == "windows" {
|
||||||
|
return
|
||||||
|
}
|
||||||
beeep.Beep(beeep.DefaultFreq, beeep.DefaultDuration)
|
beeep.Beep(beeep.DefaultFreq, beeep.DefaultDuration)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user