blob: 9cff04e1291b870d610e5dc7e6076d33997f9db0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Desktop
The native desktop app, built with [GPUI](https://gpui.rs).
## Getting started
**1. Install Rust:**
```bash
# Linux / macOS / WSL
./script/setup-rust
```
```powershell
# Windows
powershell -ExecutionPolicy Bypass -File .\script\setup-rust.ps1
```
Both scripts skip installation if Rust is already present. On Linux/macOS/WSL only: after a fresh install, reload your shell with `source "$HOME/.cargo/env"`
**2. Install native dependencies:**
```bash
# Linux / macOS / WSL
./apps/desktop/script/setup
```
```powershell
# Windows
powershell -ExecutionPolicy Bypass -File .\apps\desktop\script\setup.ps1
```
**3. Run:**
```bash
cargo run -p opencut-desktop
```
## Platform notes
**Linux:** supports apt (Debian/Ubuntu/Mint), dnf (Fedora/RHEL), and pacman (Arch).
**macOS:** installs Xcode Command Line Tools if missing.
**Windows:** the setup script checks for Visual Studio Build Tools. If missing, it prints the install link.
**WSL:** runs the same scripts as Linux. Window rendering works via WSLg on Windows 11 and Windows 10 22H2+. If you're on an older build, test on the host instead.
|