tw93 / Pake

🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 利用 Rust 轻松构建轻量级多端桌面应用
MIT License
32.99k stars 5.72k forks source link

[Bug] 无法调用打印 #508

Closed jinzhe closed 1 year ago

jinzhe commented 1 year ago

Search before asking

Pake version

2.1.12

System version

macos 13.1 (22C65)(m1)

Node.js version

18.4

Minimal reproduce step

无法调用打印

const printWindow = window.open()
printWindow.document.write(html)
printWindow.print()
printWindow.close()

What did you expect to see?

希望可以直接打印

What did you see instead?

无法调用打印

Anything else?

No response

Are you willing to submit a PR?

tw93 commented 1 year ago

看到了这个,看起来底层还不支持,有一个插件支持windows,但是还不支持其他的系统,我们先观望着 https://github.com/tauri-apps/tauri/issues/4917 这个issue先关闭