Some small refactoring

This commit is contained in:
Gregory Schier
2024-07-21 22:18:45 -07:00
parent 3cd7c1ef2e
commit 19280c3bbc
4 changed files with 16 additions and 16 deletions

View File

@@ -45,8 +45,8 @@ pub async fn node_start<R: Runtime>(app: &AppHandle<R>, temp_dir: &PathBuf) -> S
.shell()
.sidecar("node")
.unwrap()
.env("GRPC_PORT_FILE_PATH", port_file_path.clone())
.env("PLUGINS_DIR", plugins_dir)
.env("YAAK_GRPC_PORT_FILE_PATH", port_file_path.clone())
.env("YAAK_PLUGINS_DIR", plugins_dir)
.args(&[plugin_runtime_dir.join("index.cjs")])
.spawn()
.unwrap();