Files
LCE-Emerald-Launcher/BUILDING.md
2026-04-22 15:08:42 +03:00

35 lines
739 B
Markdown

# Building Emerald Launcher
## Requirements
- Node.js (and NPM)
- Rust
- WebKit2GTK-4.1 (GNU/Linux only)
- WebKit (macOS only, preinstalled)
- Microsoft Edge WebView2 Runtime (Windows only)
- PNPM (optional, but recommended)
- Windows, GNU/Linux or a macOS system.
## Building
```sh
pnpm install # or npm
pnpm tauri build # or npm
```
## macOS ARM Fix
If you encounter "application is damaged" error on macOS ARM, the build process now includes automatic fixes. If manual intervention is needed:
```sh
# Remove quarantine attributes
xattr -cr /path/to/Emerald\ Legacy\ Launcher.app
# Apply ad-hoc signature
codesign --force --deep --sign - "/path/to/Emerald\ Legacy\ Launcher.app"
```
## Flatpak
```sh
pnpm flatpak # or npm
```