FastWave2.0/README.md

60 lines
1.5 KiB
Markdown
Raw Permalink Normal View History

2024-05-27 19:24:46 +00:00
# FastWave
> Cross-Platform Wave Viewer
---
2024-05-28 07:28:31 +00:00
<p align="center">
2024-06-04 22:03:50 +00:00
<img width="800" src="docs/screenshot_firefox.png" alt="fastwave_screenshot_firefox" />
</p>
<p align="center">
<img width="800" src="docs/video_desktop.gif" alt="fastwave_video_desktop" />
2024-05-28 07:28:31 +00:00
</p>
---
2024-05-28 07:28:31 +00:00
### Install requirements:
2024-05-27 19:24:46 +00:00
1. Install [Rust](https://www.rust-lang.org/tools/install)
2. Install [Node.js](https://nodejs.org/)
3. `cargo install cargo-make`
4. `makers install`
___
### Start:
1. `makers start`
2024-05-27 19:24:46 +00:00
Troubleshooting:
- In case of Tauri compilation errors, install system dependencies: https://beta.tauri.app/guides/prerequisites/
- Possible Tauri runtime errors in terminal of VSCode installed from Linux Snap package manager:
```
Failed to load module "colorreload-gtk-module"
/usr/lib/x86_64-linux-gnu/webkit2gtk-4.1/WebKitNetworkProcess: symbol lookup error: /snap/core20/current/lib/x86_64-linux-gnu/libpthread.so.0: undefined symbol: __libc_pthread_init, version GLIBC_PRIVATE
```
Fix it by installing VSCode directly from official `.deb` bundle or try to unset multiple env variables - more info in https://stackoverflow.com/questions/75921414/java-symbol-lookup-error-snap-core20-current-lib-x86-64-linux-gnu-libpthread
---
### Start in the browser:
1. `makers start_browser`
2. Ctrl + Click the server URL mentioned in the terminal log
---
2024-05-27 19:24:46 +00:00
### Steps before pushing:
1. `makers format`
---
### Production build:
1. `makers bundle`
2. Runnable executable is in `target/release`
3. Installable bundles specific for the platform are in `target/release/bundle`