mirror of
https://github.com/rust-kotlin/ashell.git
synced 2026-09-22 00:00:59 +00:00
- Added generated ashell.png, ashell.icns, and ashell.ico to assets/icons/ - Configured gpui WindowOptions to embed and display the icon for Linux - Added winres build dependency and build.rs to embed Windows .ico into the executable - Updated package-macos-app.sh and release.yml to bundle macOS .icns into the .app bundle - Removed manual copying of icons into release zip/tarballs since they are now embedded
9 lines
181 B
Rust
9 lines
181 B
Rust
fn main() {
|
|
#[cfg(windows)]
|
|
{
|
|
let mut res = winres::WindowsResource::new();
|
|
res.set_icon("assets/icons/ashell.ico");
|
|
res.compile().unwrap();
|
|
}
|
|
}
|