Skip to content

Commit

Permalink
Fix write_html_and_text for windows. order of content matters on Wind…
Browse files Browse the repository at this point in the history
…ows. Bump to v0.6.8

#28
  • Loading branch information
HuakunShen committed Apr 25, 2024
1 parent 0bd7407 commit 252a7cb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "tauri-plugin-clipboard"
license = "MIT"
version = "0.6.7"
version = "0.6.8"
description = "A clipboard plugin for Tauri that supports text, files and image, as well as clipboard update listening."
authors = [ "Huakun" ]
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion examples/demo/package-lock.json

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

4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tauri-plugin-clipboard-api",
"version": "0.6.7",
"version": "0.6.8",
"author": "Huakun Shen",
"type": "module",
"description": "",
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ impl ClipboardManager {
.lock()
.map_err(|err| err.to_string())?
.set(vec![
ClipboardContent::Html(html),
ClipboardContent::Text(text),
ClipboardContent::Html(html),
])
.map_err(|err| err.to_string())
}
Expand Down

0 comments on commit 252a7cb

Please sign in to comment.