mirror of
https://github.com/mileswolfallen2/gelectron.git
synced 2026-09-08 12:43:16 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user