pake-cli 3.7.5 โ†’ 3.7.6

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
@@ -22,7 +22,7 @@ import * as psl from 'psl';
22
22
  import { InvalidArgumentError, program as program$1, Option } from 'commander';
23
23
 
24
24
  var name = "pake-cli";
25
- var version = "3.7.5";
25
+ var version = "3.7.6";
26
26
  var description = "๐Ÿคฑ๐Ÿป Turn any webpage into a desktop app with one command. ๐Ÿคฑ๐Ÿป ไธ€้”ฎๆ‰“ๅŒ…็ฝ‘้กต็”Ÿๆˆ่ฝป้‡ๆกŒ้ขๅบ”็”จใ€‚";
27
27
  var engines = {
28
28
  node: ">=18.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pake-cli",
3
- "version": "3.7.5",
3
+ "version": "3.7.6",
4
4
  "description": "๐Ÿคฑ๐Ÿป Turn any webpage into a desktop app with one command. ๐Ÿคฑ๐Ÿป ไธ€้”ฎๆ‰“ๅŒ…็ฝ‘้กต็”Ÿๆˆ่ฝป้‡ๆกŒ้ขๅบ”็”จใ€‚",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"
@@ -2539,7 +2539,7 @@ dependencies = [
2539
2539
 
2540
2540
  [[package]]
2541
2541
  name = "pake"
2542
- version = "3.7.5"
2542
+ version = "3.7.6"
2543
2543
  dependencies = [
2544
2544
  "serde",
2545
2545
  "serde_json",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "pake"
3
- version = "3.7.5"
3
+ version = "3.7.6"
4
4
  description = "๐Ÿคฑ๐Ÿป Turn any webpage into a desktop app with Rust."
5
5
  authors = ["Tw93"]
6
6
  license = "MIT"
@@ -105,6 +105,8 @@ pub fn run_app() {
105
105
  {
106
106
  if init_fullscreen {
107
107
  window_clone.set_fullscreen(true).unwrap();
108
+ // Ensure webview maintains focus for input after fullscreen
109
+ let _ = window_clone.set_focus();
108
110
  }
109
111
  }
110
112
  });
@@ -125,6 +127,14 @@ pub fn run_app() {
125
127
  tokio::time::sleep(Duration::from_millis(900)).await;
126
128
  }
127
129
  }
130
+ #[cfg(all(not(target_os = "windows"), not(target_os = "macos")))]
131
+ {
132
+ if window.is_fullscreen().unwrap_or(false) {
133
+ window.set_fullscreen(false).unwrap();
134
+ // Restore focus after exiting fullscreen to fix input issues
135
+ let _ = window.set_focus();
136
+ }
137
+ }
128
138
  window.minimize().unwrap();
129
139
  window.hide().unwrap();
130
140
  });