feat: implement application icon support for macOS

- Removed package.json and code signature files from the macOS app bundle.
- Added support for setting application icons via base64 encoded PNG strings.
- Enhanced the main application logic to detect and apply icons from various locations.
- Updated the Electron app and browser window classes to handle icon setting.
- Introduced new methods for decoding PNG icons and applying them to the application and window.
- Updated Cargo.toml to include the cocoa dependency for macOS.
This commit is contained in:
2026-07-31 04:07:23 -05:00
parent a7b6f9a072
commit da521a33a0
37 changed files with 513 additions and 5076 deletions
+3
View File
@@ -23,3 +23,6 @@ rfd = "0.15"
png = "0.18"
base64 = "0.22"
url = { workspace = true }
[target.'cfg(target_os = "macos")'.dependencies]
cocoa = "0.26"