# README.md · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/blob/auto-updater-fix/README.md)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: refs/heads/auto-updater-fix

Commit: e8d7a366c4cf30e67c4d99b51800224a77fe4553

Blob: 43161c785cc8ec6a50ca037db9427d6e95d6aef9

Size: 2656 bytes

[Immutable source](https://git.cafe/dara/icarus/blob/e8d7a366c4cf30e67c4d99b51800224a77fe4553/README.md?format=markdown)

````
# Icarus: Valorant Strategies & Line ups

Icarus is an interactive strategy creation tool for Valorant players. It focuses on a robust map drawing system that lets teams create, save, and iterate on strategies locally.

Download: https://apps.microsoft.com/detail/9PBWHHZRQFW6?hl=en-us&gl=US&ocid=pdpshare
Dev log: https://youtu.be/dDn2rafvjMQ?si=mm1Sz-XrjvNQiRWE

<img src="https://l7y6qjyp5m.ufs.sh/f/usun6XPoM0UCpB9qMageWNaYX3kSziMD5UmKObA6uIe7wB0Z">

## Features
- Interactive map drawing and annotations
- Save, load, and organize strategies locally
- Agent and ability helpers
- Desktop-focused UX for planning sessions

## Tech Stack
- Flutter (Dart)
- Riverpod for state management
- Hive for local storage

## Architecture
- `lib/main.dart` bootstraps app startup, initializes Hive, and wires Riverpod.
- State lives in Riverpod notifiers under `lib/providers/`.
- Strategies, folders, and supporting data are stored in Hive boxes defined in `lib/const/hive_boxes.dart`.
- Hive adapters are generated from `lib/hive/hive_adapters.dart`.
- Core strategy workflow is coordinated by `lib/providers/strategy_provider.dart`.
- UI is composed from screens in `lib/` and shared components under `lib/widgets/`.

## Requirements
- Flutter SDK (Dart >= 3.4.3)

## Getting Started
```bash
flutter pub get
flutter run
```

## Build
```bash
flutter build <platform>
```

## Versioning (Windows MSIX)
There is a helper script for bumping versions across `pubspec.yaml` and `lib/const/settings.dart`.
```powershell
powershell -ExecutionPolicy Bypass -File scripts/bump_version.ps1 -Bump patch
```

## Local Prerelease Publish
To test the desktop auto-updater without waiting for the full GitHub Actions build, build and publish the prerelease updater payload locally:
```powershell
powershell -ExecutionPolicy Bypass -File scripts/publish_prerelease_local.ps1
```

This command:
- bumps the app version by `patch` by default
- builds the desktop prerelease package locally
- stages the same GitHub Pages content under `release/out/gh-pages`
- force-pushes that staged content to the `gh-pages` branch

GitHub Actions then runs only the Pages deployment step from `.github/workflows/deploy-pages-from-branch.yml`.

## Contributing
If you would like to contribute, please fork the repository and submit a pull request with your proposed changes.

## Support
This project is completely free and open source. Your support helps maintain it.

<a href="https://www.buymeacoffee.com/daradoescode" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>

````
