You've already forked AstralRinth
forked from didirus/AstralRinth
Debug pin macro (#118)
* debug pin macro * Added debug pinning macro * working on windows * removed remaining box pins
This commit is contained in:
@@ -3,6 +3,7 @@ use std::path::{Path, PathBuf};
|
||||
use theseus::prelude::*;
|
||||
|
||||
#[tauri::command]
|
||||
#[theseus_macros::debug_pin]
|
||||
pub async fn pack_install_version_id(
|
||||
version_id: String,
|
||||
pack_title: String,
|
||||
@@ -15,6 +16,7 @@ pub async fn pack_install_version_id(
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
#[theseus_macros::debug_pin]
|
||||
pub async fn pack_install_file(path: &Path) -> Result<PathBuf> {
|
||||
let res = pack::install_pack_from_file(path.to_path_buf()).await?;
|
||||
Ok(res)
|
||||
|
||||
Reference in New Issue
Block a user