Skip to content

electrobun-counter example missing icons/icon.ico — breaks cargo check for app crate #172

@devallibus

Description

@devallibus

Summary

Running cargo check --workspace in examples/electrobun-counter/src-tauri/ fails because the counter-app crate's Tauri build script requires icons/icon.ico, which does not exist in the example.

Reproduction

cd examples/electrobun-counter/src-tauri
cargo check --workspace

Error

error: failed to run custom build command for `counter-app v0.1.0`

  `icons/icon.ico` not found; required for generating a Windows Resource file during tauri-build

Impact

  • cargo check -p counter-core -p counter-commands works fine (the core game logic and webtau command crates compile without issue).
  • Only the counter-app (Tauri desktop shell) crate fails, and only on Windows where tauri-build requires an .ico resource.
  • The other examples (counter, pong, battlestation) likely have the same setup since they share the same 4-crate workspace pattern — worth checking if they have icons or exhibit the same issue.

Suggested fix

Add a default icons/icon.ico (and optionally icon.png for other platforms) to examples/electrobun-counter/src-tauri/app/icons/, matching the pattern used by tauri init scaffolds.

Context

Found during local v0.7.0 Electrobun verification (post-release). All non-Tauri-app crates in the workspace compile and test cleanly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions