-
Notifications
You must be signed in to change notification settings - Fork 759
二次开发
Hiram·Wong edited this page Jun 4, 2024
·
1 revision
如果你遇到不好用的功能,又或者想要自己DIY(如修改logo),欢迎修改代码。
MIT License
Copyright (c) 2023 Hiram-Wong
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
1.安装 node.js version18 以上
2.克隆项目 git clone https://github.com/Hiram-Wong/ZyPlayer.git
3.进入项目 cd ZyPlayer/
4.打开vscode code .
5.修改代码
6.修改packgae.json[仅win8.1、7] "electron": "^19.1.9",
7.安装依赖包 yarn
8.全局安装electron-vite框架 yarn add electron-vite -D
9.打包 yarn build:win[mac/linux]
- MacOS(dmg):arm64[Applechip]、x64[Intel]、universal[通用-不区分架构]
- Windows(exe):arm64[骁龙]、x64[Intel、amd]、ia32(32位操作系统)、win-版本号.exe(通用-不区分架构)
- Linux(image、deb、rpm):arm64[鲲鹏、飞腾]、x64[兆兴]
- Chromium内核110.0.5481.100对应Electron23.1.1(续航能力大幅优化 即降低能耗和性能优化)
- Electron 23 将包含 Chromium 110, 不再支持Windows(7/8/8.1)
- Chrome启用HEVC硬解码说明
跨平台桌面端视频资源播放器,免费高颜值!