LCE-Emerald-Launcher/BUILDING.md
Edward? 962979c70e
Some checks failed
Nix / build (push) Has been cancelled
Feat: Adding Gentoo Ebuild (#148)
Co-authored-by: /home/neo <158327205+neoapps-dev@users.noreply.github.com>
2026-07-17 04:28:24 +03:00

40 lines
867 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
```
## Gentoo
A Portage overlay lives in [`gentoo/`](gentoo/). See the GNU/Linux installation section in [README.md](README.md).