Skip to content

Commit

Permalink
feat: tauri updates, objc -> objc2
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeHD committed Sep 16, 2024
1 parent d365b18 commit 4185e4d
Show file tree
Hide file tree
Showing 6 changed files with 143 additions and 105 deletions.
126 changes: 72 additions & 54 deletions src-tauri/Cargo.lock

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

27 changes: 23 additions & 4 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,29 @@ webkit2gtk = "2.0"
wgpu = { version = "22", default-features = false }

[target.'cfg(target_os = "macos")'.dependencies]
objc = "0.2"
objc-foundation = "0.1.1"
cocoa = "0.26.0"
block = "0.1.6"
objc2 = "0.5.2"
objc2-foundation = { version = "0.2.2", features = [
"NSDate",
"NSUserDefaults",
"NSAutoreleasePool",
] }
objc2-app-kit = { version = "0.2.2", features = [
"NSApplication",
"NSColor",
"NSResponder",
"NSView",
"NSWindow",
"NSDockTile",
] }
objc2-web-kit = { version = "0.2.2", features = [
"objc2-app-kit",
"WKWebView",
"WKUserContentController",
"WKWebViewConfiguration",
"WKWebsiteDataStore",
"block2",
] }
block2 = "0.5.1"
embed_plist = "1.2.2"

[target."cfg(not(any(target_os = \"android\", target_os = \"ios\")))".dependencies]
Expand Down
Loading

0 comments on commit 4185e4d

Please sign in to comment.