mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-09-26 13:45:16 -07:00
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user