💄 update format
This commit is contained in:
@@ -243,7 +243,8 @@ fn main() -> wry::Result<()> {
|
|||||||
Event::UserEvent(UserEvent::DownloadComplete(_, success)) => {
|
Event::UserEvent(UserEvent::DownloadComplete(_, success)) => {
|
||||||
println!("Succeeded: {success}");
|
println!("Succeeded: {success}");
|
||||||
if success {
|
if success {
|
||||||
let _ = webview.evaluate_script("window.pakeToast('Downloaded to download folder~')");
|
let _ = webview
|
||||||
|
.evaluate_script("window.pakeToast('Downloaded to download folder~')");
|
||||||
} else {
|
} else {
|
||||||
println!("No output path")
|
println!("No output path")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user