pake-cli 2.0.1 โ†’ 2.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/README.md CHANGED
@@ -51,15 +51,31 @@
51
51
  <a href="https://github.com/tw93/Pake/releases/latest/download/ChatGPT_x64.msi">Windows</a>
52
52
  <a href="https://github.com/tw93/Pake/releases/latest/download/ChatGPT_x86_64.deb">Linux</a>
53
53
  </td>
54
+ <td>Poe
55
+ <a href="https://github.com/tw93/Pake/releases/latest/download/Poe.dmg">Mac</a>
56
+ <a href="https://github.com/tw93/Pake/releases/latest/download/Poe_x64.msi">Windows</a>
57
+ <a href="https://github.com/tw93/Pake/releases/latest/download/Poe_x86_64.deb">Linux</a>
58
+ </td>
59
+ </tr>
60
+ <tr>
61
+ <td><img src=https://cdn.fliggy.com/upic/0khyI4.png width=600/></td>
62
+ <td><img src=https://cdn.fliggy.com/upic/7QUfi3.png width=600/></td>
63
+ </tr>
64
+ <tr>
54
65
  <td>LiZhi
55
66
  <a href="https://github.com/tw93/Pake/releases/latest/download/LiZhi.dmg">Mac</a>
56
67
  <a href="https://github.com/tw93/Pake/releases/latest/download/LiZhi_x64.msi">Windows</a>
57
68
  <a href="https://github.com/tw93/Pake/releases/latest/download/LiZhi_x86_64.deb">Linux</a>
58
69
  </td>
70
+ <td>ProgramMusic
71
+ <a href="https://github.com/tw93/Pake/releases/latest/download/ProgramMusic.dmg">Mac</a>
72
+ <a href="https://github.com/tw93/Pake/releases/latest/download/ProgramMusic_x64.msi">Windows</a>
73
+ <a href="https://github.com/tw93/Pake/releases/latest/download/ProgramMusic_x86_64.deb">Linux</a>
74
+ </td>
59
75
  </tr>
60
76
  <tr>
61
- <td><img src=https://cdn.fliggy.com/upic/0khyI4.png width=600/></td>
62
77
  <td><img src=https://cdn.fliggy.com/upic/nYEKqN.jpg width=600/></td>
78
+ <td><img src=https://cdn.fliggy.com/upic/0C9lju.jpg width=600/></td>
63
79
  </tr>
64
80
  <tr>
65
81
  <td>YouTube
@@ -78,41 +94,41 @@
78
94
  <td><img src=https://cdn.fliggy.com/upic/sKN5Bn.png width=600/></td>
79
95
  </tr>
80
96
  <tr>
81
- <td>ProgramMusic
82
- <a href="https://github.com/tw93/Pake/releases/latest/download/ProgramMusic.dmg">Mac</a>
83
- <a href="https://github.com/tw93/Pake/releases/latest/download/ProgramMusic_x64.msi">Windows</a>
84
- <a href="https://github.com/tw93/Pake/releases/latest/download/ProgramMusic_x86_64.deb">Linux</a>
97
+ <td>Flomo
98
+ <a href="https://github.com/tw93/Pake/releases/latest/download/Flomo.dmg">Mac</a>
99
+ <a href="https://github.com/tw93/Pake/releases/latest/download/Flomo_x64.msi">Windows</a>
100
+ <a href="https://github.com/tw93/Pake/releases/latest/download/Flomo_x86_64.deb">Linux</a>
85
101
  </td>
86
- <td>CodeRunner
87
- <a href="https://github.com/tw93/Pake/releases/latest/download/CodeRunner.dmg">Mac</a>
88
- <a href="https://github.com/tw93/Pake/releases/latest/download/CodeRunner_x64.msi">Windows</a>
89
- <a href="https://github.com/tw93/Pake/releases/latest/download/CodeRunner_x86_64.deb">Linux</a>
102
+ <td>Qwerty
103
+ <a href="https://github.com/tw93/Pake/releases/latest/download/Qwerty.dmg">Mac</a>
104
+ <a href="https://github.com/tw93/Pake/releases/latest/download/Qwerty_x64.msi">Windows</a>
105
+ <a href="https://github.com/tw93/Pake/releases/latest/download/Qwerty_x86_64.deb">Linux</a>
90
106
  </td>
91
107
  </tr>
92
108
  <tr>
93
- <td><img src=https://cdn.fliggy.com/upic/8A3FfQ.png width=600/></td>
94
- <td><img src=https://cdn.fliggy.com/upic/EB1OYP.jpg width=600/></td>
109
+ <td><img src=https://gw.alipayobjects.com/zos/k/30/RoUSUf.png width=600/></td>
110
+ <td><img src=https://cdn.fliggy.com/upic/i2eg6G.png width=600/></td>
95
111
  </tr>
96
112
  <tr>
97
- <td>Flomo
98
- <a href="https://github.com/tw93/Pake/releases/latest/download/Flomo.dmg">Mac</a>
99
- <a href="https://github.com/tw93/Pake/releases/latest/download/Flomo_x64.msi">Windows</a>
100
- <a href="https://github.com/tw93/Pake/releases/latest/download/Flomo_x86_64.deb">Linux</a>
113
+ <td>Reference
114
+ <a href="https://github.com/tw93/Pake/releases/latest/download/Reference.dmg">Mac</a>
115
+ <a href="https://github.com/tw93/Pake/releases/latest/download/Reference_x64.msi">Windows</a>
116
+ <a href="https://github.com/tw93/Pake/releases/latest/download/Reference_x86_64.deb">Linux</a>
101
117
  </td>
102
- <td>Loop
103
- <a href="https://github.com/tw93/Pake/releases/latest/download/Loop.dmg">Mac</a>
104
- <a href="https://github.com/tw93/Pake/releases/latest/download/Loop_x64.msi">Windows</a>
105
- <a href="https://github.com/tw93/Pake/releases/latest/download/Loop_x86_64.deb">Linux</a>
118
+ <td>CodeRunner
119
+ <a href="https://github.com/tw93/Pake/releases/latest/download/CodeRunner.dmg">Mac</a>
120
+ <a href="https://github.com/tw93/Pake/releases/latest/download/CodeRunner_x64.msi">Windows</a>
121
+ <a href="https://github.com/tw93/Pake/releases/latest/download/CodeRunner_x86_64.deb">Linux</a>
106
122
  </td>
107
123
  </tr>
108
124
  <tr>
109
- <td><img src=https://gw.alipayobjects.com/zos/k/30/RoUSUf.png width=600/></td>
110
- <td><img src=https://cdn.fliggy.com/upic/ajRw5F.png width=600/></td>
125
+ <td><img src=https://cdn.fliggy.com/upic/SPGMRY.png width=600/></td>
126
+ <td><img src=https://cdn.fliggy.com/upic/fS1lVi.jpg width=600/></td>
111
127
  </tr>
112
128
  </table>
113
129
 
114
130
  <details>
115
- <summary>๐Ÿ‚ You can download more applications (such as YuQue / Reference / Qwerty) from <a href="https://github.com/tw93/Pake/releases">Releases</a>. <b>Click here to expand the shortcuts reference!</b></summary>
131
+ <summary>๐Ÿ‚ You can download more applications from <a href="https://github.com/tw93/Pake/releases">Releases</a>. <b>Click here to expand the shortcuts reference!</b></summary>
116
132
 
117
133
  <br/>
118
134
 
package/dist/cli.js CHANGED
@@ -1767,7 +1767,12 @@ function mergeTauriConfig(url, options, tauriConf) {
1767
1767
  if (process.platform === "linux") {
1768
1768
  delete tauriConf.tauri.bundle.deb.files;
1769
1769
  if (["all", "deb", "appimage"].includes(options.targets)) {
1770
- tauriConf.tauri.bundle.targets = [options.targets];
1770
+ if (options.targets === "all") {
1771
+ tauriConf.tauri.bundle.targets = ["deb", "appimage"];
1772
+ }
1773
+ else {
1774
+ tauriConf.tauri.bundle.targets = [options.targets];
1775
+ }
1771
1776
  }
1772
1777
  else {
1773
1778
  logger.warn("targets must be 'all', 'deb', 'appimage', we will use default 'all'");
@@ -2518,7 +2523,7 @@ class BuilderFactory {
2518
2523
  }
2519
2524
 
2520
2525
  var name = "pake-cli";
2521
- var version = "2.0.1";
2526
+ var version = "2.0.3";
2522
2527
  var description = "๐Ÿคฑ๐Ÿป Turn any webpage into a desktop app with Rust. ๐Ÿคฑ๐Ÿป ๅพˆ็ฎ€ๅ•็š„็”จ Rust ๆ‰“ๅŒ…็ฝ‘้กต็”Ÿๆˆๅพˆๅฐ็š„ๆกŒ้ข Appใ€‚";
2523
2528
  var engines = {
2524
2529
  node: ">=16.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pake-cli",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
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
  }
@@ -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{
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file