chore: replace cross-env with shell-emulator & misc (#1464)

This commit is contained in:
hehe
2023-03-10 09:16:25 +08:00
committed by GitHub
parent d0c1b4508e
commit 047adde310
13 changed files with 24 additions and 99 deletions

View File

@@ -93,8 +93,8 @@ pub async fn create_workspace<'s>(
#[tauri::command]
pub async fn update_workspace<'s>(
state: tauri::State<'s, AppState>,
parameters: UpdateWorkspace,
_state: tauri::State<'s, AppState>,
_parameters: UpdateWorkspace,
) -> Result<bool, String> {
// TODO: check user permission
// No thing to update now. The avatar is update in YDoc using websocket or yrs.update

View File

@@ -1,5 +1,4 @@
use cloud_database::SqliteDBContext;
use jwst::Workspace;
use jwst_storage::{BlobAutoStorage, DocAutoStorage};
use std::{fs, path::Path};
use tauri::api::path::document_dir;