mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-07-22 15:18:02 +00:00
Do not beep on windows
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user