mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-01-18 13:07:58 +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() {
|
||||
if runtime.GOOS == "windows" {
|
||||
return
|
||||
}
|
||||
beeep.Beep(beeep.DefaultFreq, beeep.DefaultDuration)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user