dsh-desktop-statusbar 3.0.3 → 3.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/LICENSE +21 -21
- package/README.en.md +145 -145
- package/README.md +142 -142
- package/cordis.patch.yml +14 -14
- package/icon.svg +10 -10
- package/lib/balance-api.js +782 -516
- package/lib/client.js +12364 -11436
- package/lib/exchange-rate.js +199 -199
- package/lib/holiday.js +128 -128
- package/lib/index.js +7784 -7190
- package/lib/release-age.js +509 -509
- package/lib/self-update.js +913 -913
- package/locale/de.json +6 -0
- package/locale/en.json +6 -6
- package/locale/es.json +6 -0
- package/locale/fr.json +6 -0
- package/locale/ja.json +6 -0
- package/locale/pt.json +6 -0
- package/locale/ru.json +6 -0
- package/locale/zh.json +6 -6
- package/package.json +72 -72
- package/tools/shot.cjs +18 -13
package/cordis.patch.yml
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
# dsh-desktop-statusbar bundle 层
|
|
2
|
-
#
|
|
3
|
-
# 一个包一个组件。开发模式是主插件的一部分,**没有独立开关** ——
|
|
4
|
-
# 它只是作者调试用的入口(底栏吃假数据 + 连点版本号进出),日常不出现,
|
|
5
|
-
# 也不会在界面上多出任何可见控件。
|
|
6
|
-
#
|
|
7
|
-
# 曾经拆成过第二个组件(插件管理页单独开关),已经回退。原因:单包只能声明
|
|
8
|
-
# 一份客户端入口、client.js 是单份打包的,关掉组件**不会**卸载那部分代码 ——
|
|
9
|
-
# 于是"关掉"只能靠客户端运行时探测/轮询去管控,名不副实。
|
|
10
|
-
# 拆成多个 npm 包才能真正隔离,但那个代价不值得。
|
|
11
|
-
- insert:
|
|
12
|
-
- id: dsh-desktop-statusbar
|
|
13
|
-
name: 'dsh-desktop-statusbar'
|
|
14
|
-
config: {}
|
|
1
|
+
# dsh-desktop-statusbar bundle 层
|
|
2
|
+
#
|
|
3
|
+
# 一个包一个组件。开发模式是主插件的一部分,**没有独立开关** ——
|
|
4
|
+
# 它只是作者调试用的入口(底栏吃假数据 + 连点版本号进出),日常不出现,
|
|
5
|
+
# 也不会在界面上多出任何可见控件。
|
|
6
|
+
#
|
|
7
|
+
# 曾经拆成过第二个组件(插件管理页单独开关),已经回退。原因:单包只能声明
|
|
8
|
+
# 一份客户端入口、client.js 是单份打包的,关掉组件**不会**卸载那部分代码 ——
|
|
9
|
+
# 于是"关掉"只能靠客户端运行时探测/轮询去管控,名不副实。
|
|
10
|
+
# 拆成多个 npm 包才能真正隔离,但那个代价不值得。
|
|
11
|
+
- insert:
|
|
12
|
+
- id: dsh-desktop-statusbar
|
|
13
|
+
name: 'dsh-desktop-statusbar'
|
|
14
|
+
config: {}
|
package/icon.svg
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M5.01 28.5A15 15 0 1 1 30.99 28.5" stroke="url(#gauge)" stroke-width="2.8" stroke-linecap="round" />
|
|
3
|
-
<path d="M18 21l6-6" stroke="url(#gauge)" stroke-width="2.8" stroke-linecap="round" />
|
|
4
|
-
<defs>
|
|
5
|
-
<linearGradient id="gauge" x1="5" y1="12" x2="31" y2="29" gradientUnits="userSpaceOnUse">
|
|
6
|
-
<stop stop-color="#54ECE7" />
|
|
7
|
-
<stop offset="1" stop-color="#658EFF" />
|
|
8
|
-
</linearGradient>
|
|
9
|
-
</defs>
|
|
10
|
-
</svg>
|
|
1
|
+
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M5.01 28.5A15 15 0 1 1 30.99 28.5" stroke="url(#gauge)" stroke-width="2.8" stroke-linecap="round" />
|
|
3
|
+
<path d="M18 21l6-6" stroke="url(#gauge)" stroke-width="2.8" stroke-linecap="round" />
|
|
4
|
+
<defs>
|
|
5
|
+
<linearGradient id="gauge" x1="5" y1="12" x2="31" y2="29" gradientUnits="userSpaceOnUse">
|
|
6
|
+
<stop stop-color="#54ECE7" />
|
|
7
|
+
<stop offset="1" stop-color="#658EFF" />
|
|
8
|
+
</linearGradient>
|
|
9
|
+
</defs>
|
|
10
|
+
</svg>
|