pake-cli 2.0.2 โ†’ 2.0.4

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
@@ -2523,7 +2523,7 @@ class BuilderFactory {
2523
2523
  }
2524
2524
 
2525
2525
  var name = "pake-cli";
2526
- var version = "2.0.2";
2526
+ var version = "2.0.4";
2527
2527
  var description = "๐Ÿคฑ๐Ÿป Turn any webpage into a desktop app with Rust. ๐Ÿคฑ๐Ÿป ๅพˆ็ฎ€ๅ•็š„็”จ Rust ๆ‰“ๅŒ…็ฝ‘้กต็”Ÿๆˆๅพˆๅฐ็š„ๆกŒ้ข Appใ€‚";
2528
2528
  var engines = {
2529
2529
  node: ">=16.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pake-cli",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "description": "๐Ÿคฑ๐Ÿป Turn any webpage into a desktop app with Rust. ๐Ÿคฑ๐Ÿป ๅพˆ็ฎ€ๅ•็š„็”จ Rust ๆ‰“ๅŒ…็ฝ‘้กต็”Ÿๆˆๅพˆๅฐ็š„ๆกŒ้ข Appใ€‚",
5
5
  "engines": {
6
6
  "node": ">=16.0.0"
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -23,7 +23,7 @@ pub fn fullscreen(app: AppHandle) {
23
23
  }
24
24
  }
25
25
 
26
- #[tauri::command]
26
+ #[command]
27
27
  pub fn open_browser(app: AppHandle, url: String) {
28
28
  api::shell::open(&app.shell_scope(), url, None).unwrap();
29
29
  }
@@ -38,7 +38,7 @@ pub fn get_menu() -> Menu {
38
38
  pub fn menu_event_handle(event: WindowMenuEvent) {
39
39
  if event.menu_item_id() == "close" {
40
40
  event.window().minimize().expect("can't minimize window");
41
- event.window().eval("toggleVideoPlayback(true);").unwrap();
41
+ // event.window().eval("toggleVideoPlayback(true);").unwrap();
42
42
  }
43
43
 
44
44
  if event.menu_item_id() == "goto_url" {
@@ -33,6 +33,14 @@ window.addEventListener('DOMContentLoaded', (_event) => {
33
33
  opacity: 1;
34
34
  }
35
35
 
36
+ #layout > ytmusic-nav-bar{
37
+ padding: 6px 16px 0 72px;
38
+ }
39
+
40
+ html::-webkit-scrollbar {
41
+ display: none !important;
42
+ }
43
+
36
44
  #page .main_header, .cb-layout-basic--navbar,
37
45
  #app .splitpanes.splitpanes--horizontal.no-splitter header,
38
46
  .fui-FluentProvider .fui-Button[data-testid="HomeButton"],
@@ -93,7 +101,11 @@ window.addEventListener('DOMContentLoaded', (_event) => {
93
101
  }
94
102
 
95
103
  ytd-masthead>#container.style-scope.ytd-masthead {
96
- padding-top: 12px !important;
104
+ padding-top: 12px;
105
+ }
106
+
107
+ #background.ytd-masthead {
108
+ height: 68px;
97
109
  }
98
110
 
99
111
  .wrap.h1body-exist.max-container > div.menu-tocs > div.menu-btn{
@@ -58,7 +58,7 @@ pub fn run_app() {
58
58
  #[cfg(target_os = "macos")]
59
59
  {
60
60
  event.window().minimize().unwrap();
61
- event.window().eval("toggleVideoPlayback(true);").unwrap();
61
+ // event.window().eval("toggleVideoPlayback(true);").unwrap();
62
62
  }
63
63
 
64
64
  #[cfg(not(target_os = "macos"))]
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file