mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-29 13:03:09 +03:00
chore(docs): improve sidecar target script
This commit is contained in:
parent
f09a13a978
commit
4bd1aa690c
@ -28,7 +28,7 @@ Here is a sample to illustrate the configuration, this is not a complete `tauri.
|
||||
A binary with the same name and a `-$TARGET_TRIPLE` suffix must exist on the specified path. For instance, `"externalBin": ["bin/python"]` requires a `src-tauri/bin/python-x86_64-unknown-linux-gnu` executable on Linux. You can find the current platform's target triple running the following command:
|
||||
|
||||
```bash
|
||||
RUSTC_BOOTSTRAP=1 rustc -Z unstable-options --print target-spec-json
|
||||
rustc -Vv | grep host | cut -f2 -d' '
|
||||
```
|
||||
|
||||
Here's a Node.js script to append the target triple to a binary:
|
||||
|
Loading…
Reference in New Issue
Block a user