gen2brain / beeep

Go cross-platform library for sending desktop notifications, alerts and beeps
BSD 2-Clause "Simplified" License
1.43k stars 89 forks source link

How to use icon on macOS ? #42

Closed SkYNewZ closed 3 years ago

SkYNewZ commented 3 years ago

I can see an simple explanation here https://github.com/gen2brain/beeep#macos but what to write on the beeep.Alert(title, message, "??") method ?

You are using assets directory but I don't have any assets in my bundle, which is work fine by the way (Application icon, system tray).

➜ tree Twitch\ Clip.app
drwxr-xr-x    - quentin  9 May 20:38 Twitch Clip.app
drwxr-xr-x    - quentin  9 May 20:38 └── Contents
.rw-r--r--  456 quentin  9 May 20:38    ├── Info.plist
drwxr-xr-x    - quentin  9 May 21:04    ├── MacOS
.rwxr-xr-x 9.8M quentin  9 May 21:04    │  └── twitch-clip
drwxr-xr-x    - quentin  9 May 20:38    └── Resources
.rw-r--r--  91k quentin  9 May 20:38       ├── icon.icns
.rw-r--r--  17k quentin  9 May 20:38       └── logo.png

I only have the AppleScript icon.

SkYNewZ commented 3 years ago

Sorry for disturbing… https://github.com/gen2brain/beeep/issues/39