When building an unmodified project generated using create-tauri-app, it fails with:
Error failed to bundle project: Failed to build data folders and files:
Failed to build data folders and files: Failed to create icon files:
Failed to create icon files: path matching icons/icon.icns not found.:
path matching icons/icon.icns not found.
error Command failed with exit code 1.
That's because the default src-tauri/tauri.conf.json includes
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
and icon.icns is not in the list of currently provided icons.
Is it on purpose, e.g. because the icon.icns file included in tauri is pretty large (1.17 MB)?
Anyway, I think we should use one of these options:
- Include the
icon.icns file included in tauri (1.17 MB)
- Or include a lighter
icon.icns file
- Or remove
icon.icns from default src-tauri/tauri.conf.json.
What do you prefer?
When building an unmodified project generated using
create-tauri-app, it fails with:That's because the default
src-tauri/tauri.conf.jsonincludesand
icon.icnsis not in the list of currently provided icons.Is it on purpose, e.g. because the
icon.icnsfile included in tauri is pretty large (1.17 MB)?Anyway, I think we should use one of these options:
icon.icnsfile included in tauri (1.17 MB)icon.icnsfileicon.icnsfrom defaultsrc-tauri/tauri.conf.json.What do you prefer?