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 +1 -1
- package/package.json +1 -1
- package/src-tauri/Cargo.lock +1 -1
- package/src-tauri/Cargo.toml +1 -1
- package/src-tauri/src/lib.rs +10 -0
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.
|
|
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
package/src-tauri/Cargo.lock
CHANGED
package/src-tauri/Cargo.toml
CHANGED
package/src-tauri/src/lib.rs
CHANGED
|
@@ -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
|
});
|