mirror of
https://github.com/nexu-io/open-design.git
synced 2026-06-01 03:14:35 +07:00
* 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>
34 lines
1.1 KiB
Markdown
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
|
|
```
|