open-design/tools/launcher/README.md
Feroomon2010 576dfed9e1
feat: add accent color control and launcher for Open Design (#683)
* feat: add accent color control and launcher for Open Design

* fix: remove launcher binary from PR

* test: cover accent appearance edge cases

---------

Co-authored-by: ferasbusiness666 <ferasbusiness666@users.noreply.github.com>
2026-05-06 23:14:21 +08:00

34 lines
1.1 KiB
Markdown

# Open Design Windows Launcher
`OpenDesignLauncher.cs` builds a small Windows console executable that starts the
local development app without typing the normal commands by hand.
The compiled `OpenDesign.exe` is intentionally not committed to git. Build it
locally when you want the shortcut, or download a trusted build from GitHub
Releases if the project publishes one.
## Build
From the repository root on Windows:
```powershell
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe /target:exe /out:OpenDesign.exe /win32icon:tools\pack\resources\win\icon.ico tools\launcher\OpenDesignLauncher.cs
```
If your Windows installation only has the 32-bit .NET Framework compiler, use:
```powershell
C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe /target:exe /out:OpenDesign.exe /win32icon:tools\pack\resources\win\icon.ico tools\launcher\OpenDesignLauncher.cs
```
## Run
Place the built `OpenDesign.exe` in the repository root next to `package.json`,
then double-click it.
The launcher checks for dependencies and runs:
```powershell
corepack pnpm install
corepack pnpm tools-dev
```