-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
Describe the bug
The primary issue is tauri::api::command::command_path does not give valid path when run in dev mode. However, it can also be viewed as tauri dev failing to copy externalBins to to target directory.
To Reproduce
Steps to reproduce the behavior:
- Add `externalBin: ["localfile"]
- In
main.rsprinttauri::api::command::command_path - run
tauri dev - the printed file will not exist
Expected behavior
In dev mode tauri should either copy over the external bins to the target directory and tauri::api::command::command_path can remain unchanged or tauri::api::command::command_path should check if it is run in dev mode and if so directly return the path provided in externalBin
Platform and Versions (please complete the following information):
OS: Linux
Node: 15.8.0
NPM: 6.1.11
Yarn: 1.22.10
Rustc: 1.50.0
Additional context
Add any other context about the problem here.
Stack Trace