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:
Geometrically
2024-09-10 00:24:17 -07:00
committed by GitHub
parent b3a6393c91
commit 0b31f2eb41
23 changed files with 481 additions and 568 deletions

View File

@@ -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(())
}