# AGENTS.md

一个基于 Electron 的音乐软件

## Setup

```
npm ci
```

## Commands

```
npm run dev                     # run locally
npm run build                   # produce a build
npm run lint                    # lint
npm run pack
npm run pack:win
npm run pack:win:setup:x86_64
npm run pack:win:setup:x64
npm run pack:win:setup:x86
```

## Layout

- `src/`          635 source files
- `build-config/` 24 source files
- `publish/`      11 source files

## Conventions

- Tests live alongside the code they cover, following `.github/workflows/build-test.yml`.
- TypeScript is not in strict mode. Turning it on catches a whole class of mistakes before they run.
- CI defines what passing means. See `.github/workflows/beta-pack.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

---

Drafted by agentreadme.com from what is in this repository. Everything marked TODO
needs a human. Check it in as AGENTS.md at the root.
