Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,26 @@ ClickIt is a native macOS auto-clicker application built with Swift Package Mana
- Preset configuration system
- Visual feedback with overlay indicators

[... rest of existing content remains unchanged ...]

## Development Guidelines

### Workflow Reminders
- Always check most recent agent os spec task lists for next feature to work on

[... rest of existing content remains unchanged ...]
### Image Resource Updates

When updating image assets (like `target-64.png`), you **must** rebuild the app to see changes:

**Why:** Swift Package Manager bundles resources into `.bundle` files at build time. The app loads from the bundle, not the source file.

**Steps to update an image:**
1. Replace the image file in `Sources/ClickIt/Lite/Resources/`
2. Clean the build: `rm -rf .build` (or `swift package clean`)
3. Rebuild: `swift build` or build in Xcode
4. The new image will now be bundled and loaded

**Quick command:**
```bash
rm -rf .build && swift build
```

**Note:** The cursor image is loaded once at app launch and cached in memory. You must restart the app after rebuilding to see the updated image.
Binary file modified Sources/ClickIt/Lite/Resources/target-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/target-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading