Skip to content

Commit 16093d5

Browse files
author
Hiram
committed
[change] npm pkg && readme
1 parent db43f8e commit 16093d5

File tree

3 files changed

+343
-308
lines changed

3 files changed

+343
-308
lines changed

README.md

Lines changed: 12 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
<img width="128" src="https://s2.loli.net/2024/02/29/7Q1nVbhkHdSmo5D.png" >
33
</p>
44
<p align="center">
5-
<a href="https://github.com/Hiram-Wong/ZyPlayer/wiki" target="_blank">文档</a>
5+
<a href="https://zy.catni.cn" target="_blank">文档</a>
6+
<a href="https://github.com/Hiram-Wong/ZyPlayer/wiki" target="_blank">维基</a>
67
<a href="https://github.com/Hiram-Wong/ZyPlayer/issues" target="_blank">反馈</a>
78
<a href="https://github.com/Hiram-Wong/ZyPlayer/releases" target="_blank">下载</a>
89
</p>
@@ -19,8 +20,6 @@
1920

2021
**重要提醒**: 在开始使用前,请务必详读并同意用户协议,确保遵守相关规定!
2122

22-
雨云id: 555409
23-
2423
<details>
2524
<summary>展开查看用户协议及免责申明</summary>
2625
感谢您选择使用zyfun(以下简称本软件),在使用产品和服务之前,请您仔细阅读和理解以下声明:
@@ -95,14 +94,20 @@
9594
- 提供 arm64(苹果芯)、x64(英特尔芯) 及 universal(通用) 三种架构安装包
9695
- 日志路径: `~/Library/Logs/{appname}/`
9796
- 数据库路径: `~/Library/Application\ Support/{appname}/database/`
97+
- 插件路径: `~/Library/Application\ Support/{appname}/plugin/`
98+
- 文件路径: `~/Library/Application\ Support/{appname}/file/`
9899
- **Linux**:
99100
- 针对 arm64、x64 架构发行 image、deb、rpm 安装包
100101
- 日志路径: `~/.config/{appname}/logs/`
101102
- 数据库路径: `~/.config/{appname}/database/`
103+
- 插件路径: `~/.config/{appname}/plugin/`
104+
- 文件路径: `~/.config/{appname}/file/`
102105
- **Windows**:
103106
- 支持 arm64、x64、ia32,以及通用版本
104107
- 日志路径: `%USERPROFILE%\AppData\Roaming\{appname}\logs\`
105108
- 数据库路径: `%USERPROFILE%\AppData\Roaming\{appname}\database\`
109+
- 插件路径: `%USERPROFILE%\AppData\Roaming\{appname}\plugin\`
110+
- 文件路径: `%USERPROFILE%\AppData\Roaming\{appname}\file\`
106111

107112
## 🛠️ 下载与安装
108113

@@ -121,45 +126,18 @@
121126
sudo spctl --master-disable
122127
[2] 执行下面命令放行软件 :
123128
sudo xattr -cr /Applications/{appname}.app
124-
125-
完成上面两个步骤,大多数情况下都能正常打开应用。
126-
127-
ps:
128-
如果提示以下内容:
129-
option -r not recognized
130-
131-
usage: xattr [-slz] file [file ...]
132-
xattr -p [-slz] attr_name file [file ...]
133-
xattr -w [-sz] attr_name attr_value file [file ...]
134-
xattr -d [-s] attr_name file [file ...]
135-
xattr -c [-s] file [file ...]
136-
137-
The first form lists the names of all xattrs on the given file(s).
138-
The second form (-p) prints the value of the xattr attr_name.
139-
The third form (-w) sets the value of the xattr attr_name to attr_value.
140-
The fourth form (-d) deletes the xattr attr_name.
141-
The fifth form (-c) deletes (clears) all xattrs.
142-
143-
options:
144-
-h: print this help
145-
-s: act on symbolic links themselves rather than their targets
146-
-l: print long format (attr_name: attr_value)
147-
-z: compress or decompress (if compressed) attribute value in zip format
148-
149-
则执行命令
150-
xattr -c /Applications/{appname}.app/*
151-
如果上述命令依然没有效果,可以尝试下面的命令:
152-
sudo xattr -d com.apple.quarantine /Applications/{appname}.app/
153129
```
154130

155131
### Linux Appimage桌面快捷方式设置
156132

157133
```bash
134+
> {appname}为软件名
135+
158136
[1] 选择一张icon图标下载
159137
[2] 在任意位置新建一个名为{appname}.desktop的文件,并写入如下内容
160138
[Desktop Entry]
161139
Name={appname}
162-
Exec=/home/xxx/Downloads/{appname}-3.3.8.AppImage # AppImage程序路径
140+
Exec=/home/xxx/Downloads/{appname}.AppImage # AppImage程序路径
163141
Icon=/home/xxx/Downloads/{appname}.png # 图标路径
164142
Type=Application
165143
StartupNotify=true
@@ -183,7 +161,7 @@ sudo xattr -d com.apple.quarantine /Applications/{appname}.app/
183161
[7] 全局安装electron-vite框架
184162
yarn add electron-vite -D
185163
[8] 打包编译发布
186-
yarn build:win[mac/linux]
164+
yarn build:win[mac|linux]
187165
188166
ps:
189167
- 同步库说明

package.json

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "zyfun",
3-
"version": "3.3.10-beta0106",
3+
"version": "3.3.10-beta0114",
44
"description": "zyfun client",
55
"main": "./out/main/index.js",
66
"repository": {
@@ -47,9 +47,10 @@
4747
"dependencies": {
4848
"@electric-sql/pglite": "^0.2.15",
4949
"@electron/remote": "^2.1.2",
50+
"@types/validator": "^13.12.2",
5051
"npm": "6.14.18",
5152
"pglite-server": "^0.1.4",
52-
"puppeteer-core": "^23.11.1",
53+
"puppeteer-core": "^24.0.0",
5354
"puppeteer-in-electron": "^3.0.5",
5455
"sync-fetch": "^0.6.0-2",
5556
"sync-request": "^6.1.0",
@@ -64,22 +65,22 @@
6465
"@electron-uikit/contextmenu": "^1.0.0",
6566
"@electron-uikit/titlebar": "^1.2.0",
6667
"@fastify/cors": "^10.0.2",
67-
"@fastify/multipart": "^9.0.1",
68+
"@fastify/multipart": "^9.0.2",
6869
"@imengyu/vue3-context-menu": "^1.4.4",
6970
"@nplayer/danmaku": "^1.0.12",
70-
"@rushstack/eslint-patch": "^1.10.4",
71-
"@swc/core": "^1.10.4",
71+
"@rushstack/eslint-patch": "^1.10.5",
72+
"@swc/core": "^1.10.7",
7273
"@tdesign-vue-next/chat": "^0.1.4",
7374
"@types/cheerio": "^0.22.35",
7475
"@types/electron-localshortcut": "^3.1.3",
7576
"@types/fs-extra": "^11.0.4",
7677
"@types/lodash": "^4.17.14",
7778
"@types/node": "^22.10.5",
7879
"@types/uuid": "^10.0.0",
79-
"@types/web": "^0.0.188",
80+
"@types/web": "^0.0.193",
8081
"@vitejs/plugin-vue": "^5.2.1",
8182
"@vitejs/plugin-vue-jsx": "^4.1.1",
82-
"@vueuse/core": "12.3.0",
83+
"@vueuse/core": "12.4.0",
8384
"@xmldom/xmldom": "^0.9.6",
8485
"artplayer": "^5.2.1",
8586
"artplayer-plugin-danmuku": "^5.1.4",
@@ -91,16 +92,16 @@
9192
"dplayer": "^1.27.1",
9293
"drizzle-kit": "^0.30.1",
9394
"drizzle-orm": "^0.38.3",
94-
"electron": "^33.2.1",
95+
"electron": "^33.3.1",
9596
"electron-builder": "^25.1.8",
9697
"electron-localshortcut": "^3.2.1",
9798
"electron-log": "^5.2.4",
9899
"electron-notarize": "^1.2.2",
99100
"electron-updater": "^6.3.9",
100101
"electron-vite": "^2.3.0",
101-
"eslint": "^9.17.0",
102+
"eslint": "^9.18.0",
102103
"fast-xml-parser": "^4.5.1",
103-
"fastify": "^5.2.0",
104+
"fastify": "^5.2.1",
104105
"fastify-logger": "^1.0.1",
105106
"fastify-plugin": "^5.0.1",
106107
"fix-path": "^4.0.0",
@@ -109,7 +110,7 @@
109110
"fs-extra": "^11.2.0",
110111
"he": "^1.2.0",
111112
"highlight.js": "^11.11.1",
112-
"hls.js": "^1.5.18",
113+
"hls.js": "^1.5.19",
113114
"husky": "^9.1.7",
114115
"iconv-lite": "^0.6.3",
115116
"ipaddr.js": "^2.2.0",
@@ -120,7 +121,7 @@
120121
"less": "^4.2.1",
121122
"lodash": "^4.17.21",
122123
"luna-console": "^1.3.5",
123-
"luna-data-grid": "^1.2.1",
124+
"luna-data-grid": "^1.3.0",
124125
"luna-dom-viewer": "^1.4.0",
125126
"luna-object-viewer": "^0.3.1",
126127
"markdown-it": "^14.1.0",
@@ -134,7 +135,7 @@
134135
"node-rsa": "^1.1.1",
135136
"nplayer": "^1.0.15",
136137
"npm-check-updates": "^17.1.13",
137-
"openai": "^4.77.3",
138+
"openai": "^4.78.1",
138139
"ora": "^8.1.1",
139140
"p-queue": "^8.0.1",
140141
"pako": "^2.1.0",
@@ -144,20 +145,21 @@
144145
"qrcode.vue": "^3.6.0",
145146
"querystring": "^0.2.1",
146147
"resize-observer-polyfill": "^1.5.1",
147-
"shaka-player": "^4.12.5",
148+
"shaka-player": "^4.12.7",
148149
"sm-crypto": "^0.3.13",
149150
"smooth-scrollbar": "^8.8.4",
150-
"stylelint": "^16.12.0",
151-
"tdesign-icons-vue-next": "^0.3.3",
151+
"stylelint": "^16.13.0",
152+
"tdesign-icons-vue-next": "^0.3.4",
152153
"tdesign-vue-next": "^1.10.6",
153154
"tree-kill": "^1.2.2",
154-
"typescript": "^5.7.2",
155-
"unplugin-auto-import": "^0.19.0",
156-
"unplugin-vue-components": "^0.28.0",
157-
"uuid": "^11.0.4",
155+
"typescript": "^5.7.3",
156+
"unplugin-auto-import": "^19.0.0",
157+
"unplugin-vue-components": "^28.0.0",
158+
"uuid": "^11.0.5",
158159
"v3-infinite-loading": "^1.3.2",
160+
"validator": "^13.12.0",
159161
"vite": "^6.0.7",
160-
"vite-plugin-vue-devtools": "^7.6.8",
162+
"vite-plugin-vue-devtools": "^7.7.0",
161163
"vite-svg-loader": "^5.1.0",
162164
"vue": "^3.5.13",
163165
"vue-i18n": "^11.0.1",

0 commit comments

Comments
 (0)