1
0
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:
Romein van Buren 2023-02-19 20:56:44 +01:00
parent a3df489beb
commit c758ad27ed
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49

View File

@ -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)
}