Update macOS icon configuration and add new assets

- Changed icon source reference in build script from AppIcon.icon to voicebox.icon.
- Updated tauri.conf.json to specify new resource paths for generated icon and plist files.
- Added voicebox.icns and updated partial.plist to include voicebox as the application icon.
- Introduced new icon.json and Voicebox.png files for the voicebox icon assets.
This commit is contained in:
Jamie Pine
2026-01-25 12:28:52 -08:00
parent edbdf0ce3f
commit e20795de7d
7 changed files with 13 additions and 6 deletions
+2 -2
View File
@@ -5,8 +5,8 @@ fn main() {
#[cfg(target_os = "macos")]
{
let project_root = env!("CARGO_MANIFEST_DIR");
// AppIcon.icon is in the root, two levels up from src-tauri
let icon_source = format!("{}/../../AppIcon.icon", project_root);
// voicebox.icon is in the root, two levels up from src-tauri
let icon_source = format!("{}/../../voicebox.icon", project_root);
let gen_dir = format!("{}/gen", project_root);
std::fs::create_dir_all(&gen_dir).expect("Failed to create gen directory");
Binary file not shown.
+6 -1
View File
@@ -1,5 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict/>
<dict>
<key>CFBundleIconFile</key>
<string>voicebox</string>
<key>CFBundleIconName</key>
<string>voicebox</string>
</dict>
</plist>
Binary file not shown.
+5 -3
View File
@@ -27,9 +27,11 @@
"minimumSystemVersion": "11.0",
"infoPlist": "Info.plist"
},
"resources": [
"gen/**/*"
]
"resources": {
"gen/Assets.car": "./",
"gen/voicebox.icns": "./",
"gen/partial.plist": "./"
}
},
"app": {
"security": {

Before

Width:  |  Height:  |  Size: 4.6 MiB

After

Width:  |  Height:  |  Size: 4.6 MiB