You've already forked AstralRinth
forked from didirus/AstralRinth
0.8.5 fixes (#2369)
* 0.8.5 fixes * Attempt to fix binary name * bump version + add nsis installmode * (temp) Use cargo version of tauri CLI * fix cli build * Fix build env var * Bump tauri version * remove old invalid installs * Fix old shortcuts + NSIS build
This commit is contained in:
@@ -40,15 +40,10 @@ pub mod update;
|
||||
#[tracing::instrument]
|
||||
pub async fn remove(path: &str) -> crate::Result<()> {
|
||||
let state = State::get().await?;
|
||||
|
||||
let mut transaction = state.pool.begin().await?;
|
||||
|
||||
Profile::remove(path, &mut transaction).await?;
|
||||
Profile::remove(path, &state.pool).await?;
|
||||
|
||||
emit_profile(path, ProfilePayloadType::Removed).await?;
|
||||
|
||||
transaction.commit().await?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user