1
0
mirror of https://github.com/spacebarchat/client.git synced 2024-11-25 03:32:54 +01:00

i was gonna do something here until I realized its a bad idea

This commit is contained in:
Puyodead1 2023-09-04 22:56:58 -04:00 committed by Puyodead1
parent a63db928b2
commit 992c0bc2ec
No known key found for this signature in database
GPG Key ID: BA5F91AAEF68E5CE
5 changed files with 2 additions and 18 deletions

14
src-tauri/Cargo.lock generated
View File

@ -134,7 +134,6 @@ dependencies = [
"tauri-plugin-notification",
"tauri-plugin-process",
"tauri-plugin-single-instance",
"tauri-plugin-store",
"tauri-plugin-stronghold",
"tauri-plugin-updater",
]
@ -4221,19 +4220,6 @@ dependencies = [
"zbus",
]
[[package]]
name = "tauri-plugin-store"
version = "2.0.0-alpha.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4b24bb0b43ca27e21e8071e63e6f0a78fc69bccf83e49e78dcaeba17951c6cfa"
dependencies = [
"log",
"serde",
"serde_json",
"tauri",
"thiserror",
]
[[package]]
name = "tauri-plugin-stronghold"
version = "2.0.0-alpha.1"

View File

@ -24,7 +24,6 @@ serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
tauri = { version = "2.0.0-alpha", features = [] }
tauri-plugin-stronghold = "2.0.0-alpha"
tauri-plugin-store = "2.0.0-alpha"
tauri-plugin-single-instance = "2.0.0-alpha"
tauri-plugin-notification = "2.0.0-alpha"
tauri-plugin-autostart = "2.0.0-alpha"

View File

@ -31,7 +31,6 @@ fn main() {
MacosLauncher::LaunchAgent,
Some(vec![]),
))
.plugin(tauri_plugin_store::Builder::default().build())
.plugin(tauri_plugin_single_instance::init(|app, argv, cwd| {
println!("{}, {argv:?}, {cwd}", app.package_info().name);

View File

@ -21,8 +21,6 @@ import { ContextMenuContextProvider } from "./contexts/ContextMenuContext";
import Theme from "./contexts/Theme";
import "./index.css";
export const isTauri = !!window.__TAURI__;
const root = ReactDOM.createRoot(document.getElementById("root") as HTMLElement);
root.render(
<BrowserRouter>

View File

@ -77,3 +77,5 @@ export const getFileDetails = (fileOrAttachment: File | APIAttachment) => {
isArchive: isArchive(fileOrAttachment),
};
};
export const isTauri = !!window.__TAURI__;