mirror of
https://github.com/Stability-AI/StableStudio.git
synced 2026-05-22 17:55:49 +08:00
fix linux builds
This commit is contained in:
10
packages/stablestudio-ui/src-tauri/Cargo.lock
generated
10
packages/stablestudio-ui/src-tauri/Cargo.lock
generated
@@ -77,6 +77,7 @@ checksum = "3b13c32d80ecc7ab747b80c3784bce54ee8a7a0cc4fbda9bf4cda2cf6fe90854"
|
||||
name = "app"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"fork",
|
||||
"http",
|
||||
"once_cell",
|
||||
"portpicker",
|
||||
@@ -787,6 +788,15 @@ version = "0.1.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
|
||||
|
||||
[[package]]
|
||||
name = "fork"
|
||||
version = "0.1.22"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "bf2ca97a59201425e7ee4d197c9c4fea282fe87a97d666a580bda889b95b8e88"
|
||||
dependencies = [
|
||||
"libc",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "form_urlencoded"
|
||||
version = "1.2.0"
|
||||
|
||||
@@ -26,6 +26,7 @@ tiny_http = "0.12.0"
|
||||
portpicker = "0.1.1"
|
||||
http = "0.2.9"
|
||||
once_cell = "1.18.0"
|
||||
fork = "0.1.22"
|
||||
|
||||
[features]
|
||||
# this feature is used for production builds or when `devPath` points to the filesystem and the built-in dev server is disabled.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
use fork::{daemon, Fork};
|
||||
use std::process::Command;
|
||||
#[cfg(target_os = "linux")]
|
||||
use std::{fs::metadata, path::PathBuf}; // dep: fork = "0.1"
|
||||
use std::{fs::metadata, path::PathBuf};
|
||||
|
||||
#[tauri::command]
|
||||
pub fn show_in_folder(path: String) {
|
||||
|
||||
Reference in New Issue
Block a user