[readme] improved
This commit is contained in:
parent
366b6fbca7
commit
572beb66f7
@ -11,8 +11,11 @@ Simple server and GUI for LAN parties.
|
|||||||
```bash
|
```bash
|
||||||
# install Tauri CLI
|
# install Tauri CLI
|
||||||
cargo install tauri-cli
|
cargo install tauri-cli
|
||||||
|
|
||||||
|
# install Deno with a package manager or from https://deno.land/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Build
|
### Build
|
||||||
#### Frontend
|
#### Frontend
|
||||||
```bash
|
```bash
|
||||||
@ -23,7 +26,7 @@ cargo tauri dev # prefix with RUST_LOG=your_module=debug or similary for more
|
|||||||
cargo tauri build --no-bundle
|
cargo tauri build --no-bundle
|
||||||
|
|
||||||
# Production
|
# Production
|
||||||
cargo tauri build --profile release-lto # also bundles everything into a nice platform-specific installer
|
cargo tauri build -- --profile release-lto # also bundles everything into a nice platform-specific installer
|
||||||
|
|
||||||
# on wayland you probably need to set this env var
|
# on wayland you probably need to set this env var
|
||||||
WEBKIT_DISABLE_DMABUF_RENDERER=1
|
WEBKIT_DISABLE_DMABUF_RENDERER=1
|
||||||
@ -38,5 +41,5 @@ deno outdated --update --latest
|
|||||||
./server.sh [options...] # prefix with RUST_LOG=your_module=debug or similary for more verbose output
|
./server.sh [options...] # prefix with RUST_LOG=your_module=debug or similary for more verbose output
|
||||||
|
|
||||||
# Production
|
# Production
|
||||||
cargo build --profile release-lto
|
cargo build --profile release-lto -p lanspread-server
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user