mirror of
https://github.com/ByteAtATime/raycast-linux.git
synced 2025-08-30 18:57:25 +00:00
docs: update readme with more info about building from source
We had previously omitted the information about building the SoulverWrapper, as it was done in build.rs. Now that it has been removed, this commit adds it back. Fixes #5
This commit is contained in:
parent
dbec9fcde5
commit
baea7dc6f3
1 changed files with 11 additions and 2 deletions
13
README.md
13
README.md
|
@ -105,9 +105,18 @@ If you prefer to build the project from its source code, you'll need to set up t
|
|||
pnpm --filter sidecar build
|
||||
```
|
||||
|
||||
4. **Run in development mode:**
|
||||
This command will launch the Tauri application with hot-reloading for the frontend.
|
||||
4. **Compile SoulverCore Wrapper:**
|
||||
This step compiles the wrapper around SoulverCore into a shared object file.
|
||||
|
||||
```bash
|
||||
swift build -c release --package-path src-tauri/SoulverWrapper
|
||||
```
|
||||
|
||||
5. **Run in development mode:**
|
||||
This command will launch the Tauri application with hot-reloading for the frontend. Note that you may need to tweak `LD_LIBRARY_PATH` to point to the SoulverWrapper.
|
||||
|
||||
```bash
|
||||
export LD_LIBRARY_PATH="$(pwd)/src-tauri/SoulverWrapper/Vendor/SoulverCore-linux:$(pwd)/src-tauri/SoulverWrapper/.build/release"
|
||||
pnpm tauri dev
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue