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:
parent
a63db928b2
commit
992c0bc2ec
14
src-tauri/Cargo.lock
generated
14
src-tauri/Cargo.lock
generated
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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>
|
||||
|
@ -77,3 +77,5 @@ export const getFileDetails = (fileOrAttachment: File | APIAttachment) => {
|
||||
isArchive: isArchive(fileOrAttachment),
|
||||
};
|
||||
};
|
||||
|
||||
export const isTauri = !!window.__TAURI__;
|
||||
|
Loading…
Reference in New Issue
Block a user