pake-cli 3.0.2 → 3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -20,7 +20,7 @@ import * as psl from 'psl';
20
20
  import isUrl from 'is-url';
21
21
 
22
22
  var name = "pake-cli";
23
- var version$1 = "3.0.2";
23
+ var version$1 = "3.0.3";
24
24
  var description = "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 利用 Rust 轻松构建轻量级多端桌面应用。";
25
25
  var engines = {
26
26
  node: ">=16.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pake-cli",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 利用 Rust 轻松构建轻量级多端桌面应用。",
5
5
  "engines": {
6
6
  "node": ">=16.0.0"
@@ -101,10 +101,10 @@ pub fn run_app() {
101
101
 
102
102
  Ok(())
103
103
  })
104
- .on_window_event(|window, event| {
104
+ .on_window_event(|_window, _event| {
105
105
  #[cfg(target_os = "macos")]
106
- if let tauri::WindowEvent::CloseRequested { api, .. } = event {
107
- let window = window.clone();
106
+ if let tauri::WindowEvent::CloseRequested { api, .. } = _event {
107
+ let window = _window.clone();
108
108
  {
109
109
  tauri::async_runtime::spawn(async move {
110
110
  if window.is_fullscreen().unwrap_or(false) {