Skip to content

Missing icon.icns in template #143

Description

@olivierlemasle

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:

  1. Include the icon.icns file included in tauri (1.17 MB)
  2. Or include a lighter icon.icns file
  3. Or remove icon.icns from default src-tauri/tauri.conf.json.

What do you prefer?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions