Skip to content

Commit

Permalink
fix: import shuffling
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeHD committed Nov 26, 2024
1 parent 0d3d91c commit 0078d3f
Show file tree
Hide file tree
Showing 8 changed files with 95 additions and 117 deletions.
173 changes: 77 additions & 96 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ window-vibrancy = { version = "0.5.0", optional = true }

reqwest = { version = "0.12", features = ["blocking"] }
phf = "0.11.2"
sysinfo = "0.30"
sysinfo = "0.32"
chrono = { version = "0.4", default-features = false, features = ["clock"] }
device_query = { version = "2.1.0", optional = true }
regex = "1.11"
Expand All @@ -57,7 +57,7 @@ tauri-plugin-notification = "2.0"

[target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
webkit2gtk = { version = "2.0", features = ["v2_4"] }
wgpu = { version = "22", default-features = false }
wgpu = { version = "23.0", default-features = false }

[target.'cfg(target_os = "macos")'.dependencies]
objc2 = "0.5.2"
Expand Down
3 changes: 2 additions & 1 deletion src-tauri/injection/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ declare global {

nativeFetch: typeof fetch
__DORION_CONFIG__: Record<string, any>
__DORION_INITIALIZED__: boolean
__DORION_INIT__: boolean
__DORION_REAL_INIT__: boolean
Dorion: any
shelter: any
nativeOpen: Window['open']
Expand Down
3 changes: 0 additions & 3 deletions src-tauri/injection/preinject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ window.Dorion = {
}

;(async () => {
if (window.__DORION_INITIALIZED__) return
window.__DORION_INITIALIZED__ = true

// if we are in an iframe we don't really need to load anything, else we bork whatever is inside
if (window.self !== window.top) {
// fixes activities
Expand Down
Loading

0 comments on commit 0078d3f

Please sign in to comment.