pake-cli 1.0.0-beta.0 → 1.0.0

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.
@@ -55,6 +55,18 @@ window.addEventListener("DOMContentLoaded", (_event) => {
55
55
  padding-top: 20px;
56
56
  }
57
57
 
58
+ #__next .overflow-hidden .flex.flex-1.flex-col {
59
+ padding-left: 0;
60
+ }
61
+
62
+ #__next .overflow-hidden>.hidden.bg-gray-900 {
63
+ display: none;
64
+ }
65
+
66
+ #__next .overflow-hidden main .absolute .text-xs{
67
+ visibility: hidden;
68
+ }
69
+
58
70
  .lark > .dashboard-sidebar, .lark > .dashboard-sidebar > .sidebar-user-info , .lark > .dashboard-sidebar .index-module_wrapper_F-Wbq{
59
71
  padding-top:15px;
60
72
  }
@@ -200,10 +212,8 @@ window.addEventListener("DOMContentLoaded", (_event) => {
200
212
  left: 1px !important;
201
213
  }
202
214
 
203
- #react-root [data-testid="SideNav_NewTweet_Button"] {
204
- position: fixed !important;
205
- right: 16px !important;
206
- bottom: 24px !important;
215
+ #react-root [data-testid="SideNav_NewTweet_Button"], #react-root [aria-label="Twitter Blue"]{
216
+ display: none;
207
217
  }
208
218
  }
209
219
 
@@ -306,16 +316,16 @@ window.addEventListener("DOMContentLoaded", (_event) => {
306
316
  document.addEventListener("click", (e) => {
307
317
  const origin = e.target.closest("a");
308
318
  if (origin && origin.href) {
319
+ const target = origin.target
309
320
  origin.target = "_self";
321
+ const hrefUrl = new URL(origin.href)
310
322
 
311
- //额外处理下 twitter 的外跳,对于其他需要外跳的可以改这里成对应域名
312
- const href = origin.href;
313
323
  if (
314
- location.host === "twitter.com" &&
315
- href.indexOf("twitter.com") === -1
324
+ window.location.host !== hrefUrl.host && // 如果 a 标签内链接的域名和当前页面的域名不一致 且
325
+ target === '_blank' // a 标签内链接的 target 属性为 _blank 时
316
326
  ) {
317
327
  e.preventDefault();
318
- window.ipc.postMessage(`open_browser:${href}`);
328
+ window.ipc.postMessage(`open_browser:${origin.href}`);
319
329
  }
320
330
  }
321
331
  });
@@ -10,7 +10,7 @@
10
10
  "transparent": true,
11
11
  "fullscreen": false,
12
12
  "width": 1200,
13
- "height": 728,
13
+ "height": 780,
14
14
  "resizable": true
15
15
  }
16
16
  ],
@@ -18,7 +18,9 @@
18
18
  "libssl-dev",
19
19
  "libgtk-3-dev",
20
20
  "libayatana-appindicator3-dev",
21
- "librsvg2-dev"
21
+ "librsvg2-dev",
22
+ "gnome-video-effects",
23
+ "gnome-video-effects-extra"
22
24
  ],
23
25
  "files": {
24
26
  "/usr/share/applications/com-tw93-weread.desktop": "assets/com-tw93-weread.desktop"
@@ -28,7 +30,7 @@
28
30
  "longDescription": "",
29
31
  "resources": [],
30
32
  "shortDescription": "",
31
- "targets": ["deb"]
33
+ "targets": ["deb", "appimage"]
32
34
  }
33
35
  }
34
36
  }
@@ -19,7 +19,8 @@
19
19
  "digestAlgorithm": "sha256",
20
20
  "timestampUrl": "",
21
21
  "wix": {
22
- "language": ["en-US"]
22
+ "language": ["en-US"],
23
+ "template": "assets/main.wxs"
23
24
  }
24
25
  }
25
26
  }
package/pake-default.icns DELETED
Binary file
@@ -1,30 +0,0 @@
1
- {
2
- "package": {
3
- "productName": "WeRead",
4
- "version": "1.0.0"
5
- },
6
- "tauri": {
7
- "windows": [
8
- {
9
- "url": "https://weread.qq.com/",
10
- "transparent": true,
11
- "fullscreen": false,
12
- "width": 1200,
13
- "height": 728,
14
- "resizable": true
15
- }
16
- ],
17
- "security": {
18
- "csp": null
19
- },
20
- "updater": {
21
- "active": false
22
- }
23
- },
24
- "build": {
25
- "devPath": "../dist",
26
- "distDir": "../dist",
27
- "beforeBuildCommand": "",
28
- "beforeDevCommand": ""
29
- }
30
- }