mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-24 21:40:48 +02:00
ci: remove stronghold plugin from e2e tests (#3638)
* ci: remove stronghold plugin from e2e tests * revert unrelated change
This commit is contained in:
@@ -43,7 +43,6 @@ tauri-plugin-deep-link = { path = "../../../plugins/deep-link", version = "2.4.1
|
||||
tauri-plugin-sql = { path = "../../../plugins/sql", version = "2.4.1", features = [
|
||||
"sqlite",
|
||||
] }
|
||||
tauri-plugin-stronghold = { path = "../../../plugins/stronghold", version = "2.3.2" }
|
||||
tauri-plugin-websocket = { path = "../../../plugins/websocket", version = "2.4.3" }
|
||||
|
||||
# WebDriver automation bridge, used by the plugins e2e suite (packages/api-e2e).
|
||||
|
||||
@@ -139,10 +139,6 @@
|
||||
"deep-link:allow-is-registered",
|
||||
"sql:default",
|
||||
"sql:allow-execute",
|
||||
"stronghold:default",
|
||||
"stronghold:allow-destroy",
|
||||
"stronghold:allow-remove-secret",
|
||||
"stronghold:allow-remove-store-record",
|
||||
"websocket:default"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ mod tray;
|
||||
use serde::Serialize;
|
||||
use tauri::{
|
||||
webview::{PageLoadEvent, WebviewWindowBuilder},
|
||||
App, AppHandle, Emitter, Listener, Manager, RunEvent, WebviewUrl,
|
||||
App, AppHandle, Emitter, Listener, RunEvent, WebviewUrl,
|
||||
};
|
||||
|
||||
#[derive(Clone, Serialize)]
|
||||
@@ -71,14 +71,6 @@ pub fn run() {
|
||||
.build(),
|
||||
)
|
||||
.setup(move |app| {
|
||||
// the argon2 salt lives next to the snapshots the frontend creates
|
||||
let local_data_dir = app.path().app_local_data_dir()?;
|
||||
std::fs::create_dir_all(&local_data_dir)?;
|
||||
app.handle().plugin(
|
||||
tauri_plugin_stronghold::Builder::with_argon2(&local_data_dir.join("salt.txt"))
|
||||
.build(),
|
||||
)?;
|
||||
|
||||
#[cfg(desktop)]
|
||||
{
|
||||
// registered before the tray, whose events it tracks
|
||||
|
||||
Reference in New Issue
Block a user