Skip to content

Commit

Permalink
fix: 修复windows打包缺失图标导致失败并启用asar
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaozhu188 committed Mar 14, 2021
1 parent bc65cdc commit e322843
Show file tree
Hide file tree
Showing 7 changed files with 86 additions and 36 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
# [1.2.0](https://github.com/xiaozhu188/electron-vue-cloud-music/compare/v1.1.22...v1.2.0) (2021-03-14)
## [1.2.1](https://github.com/xiaozhu188/electron-vue-cloud-music/compare/v1.1.22...v1.2.1) (2021-03-14)

范围|描述|commitId
--|--|--
- | 1.2.1 | [bc65cdc](https://github.com/xiaozhu188/electron-vue-cloud-music/commit/bc65cdc)


### 🌟 新功能
范围|描述|commitId
--|--|--
- | 升级至electron12;逐渐适配Mac;修复部分BUG | [de5cd5d](https://github.com/xiaozhu188/electron-vue-cloud-music/commit/de5cd5d)

## [1.1.22](https://github.com/xiaozhu188/electron-vue-cloud-music/compare/v1.1.21...v1.1.22) (2021-03-13)

范围|描述|commitId
Expand Down
107 changes: 73 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,73 @@
# test

## Project setup
```
yarn install
```

### Compiles and hot-reloads for development
```
yarn serve
```

### Compiles and minifies for production
```
yarn build
```

### Run your unit tests
```
yarn test:unit
```

### Run your end-to-end tests
```
yarn test:e2e
```

### Lints and fixes files
```
yarn lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
# electron-vue-cloud-music

> Electron+Vue+Ant Design Vue仿网易云音乐windows客户端实战
<p align="center">
<img src="https://xiaozhu188.github.io/electron-vue-cloud-music/images/logo.png" width="120">
</p>

<p align="center">
<a href="https://github.com/feross/standard">
<img src="https://img.shields.io/badge/code%20style-standard-green.svg?style=flat-square" alt="standard code">
</a>
<a href="https://github.com/xiaozhu188/electron-vue-cloud-music/blob/master/LICENSE">
<img src="https://img.shields.io/github/license/xiaozhu188/electron-vue-cloud-music.svg" alt="license">
</a>
<a href="https://github.com/xiaozhu188/electron-vue-cloud-music/releases">
<img src="https://img.shields.io/github/v/release/xiaozhu188/electron-vue-cloud-music.svg?style=flat-square" alt="release">
</a>
<a href="https://github.com/xiaozhu188/electron-vue-cloud-music/releases/latest">
<img src="https://img.shields.io/github/downloads/xiaozhu188/electron-vue-cloud-music/total.svg?style=flat-square" alt="">
</a>
</p>

## 特点
* 视频播放器
* 拖拽播放
* 桌面歌词
* mini模式
* 自定义托盘右键菜单
* 任务栏缩略图,歌曲操作
* 音频可视化
* 自动/手动检查更新
* Nedb数据库持久化
* 自定义安装路径,安装界面美化
* 浏览器中启动客户端
* Travis CL,AppVeyor自动构建
* 换肤,下载,本地歌曲匹配,网络变化桌面通知,分享歌曲/歌单/MV/视频等到QQ空间
* 登录,私人Fm,歌单,专辑,歌手,排行榜,MV,视频,评论,搜索,用户,动态,粉丝,关注,云盘,收藏...
* 心动模式,歌词微调,下一首播放,追加播放,单曲循环,随机播放,列表循环
* 路由导向,局部刷新,首页栏目调整并持久化...
* ...


## 下载 && 运行
点击[下载应用](https://github.com/xiaozhu188/electron-vue-cloud-music/releases/latest)


> macOS用户请下载dmg文件,windows用户请下载exe文件,linux用户请下载AppImage文件。
> 项目当前依赖[NeteaseCloudMusicApi](https://github.com/Binaryify/NeteaseCloudMusicApi),感谢NeteaseCloudMusicApi的作者。
## 开发说明
[开发实战](https://xiaozhu188.github.io/electron-vue-cloud-music)

## 部分界面预览

![video](https://image-static.segmentfault.com/413/702/4137029073-5ee22a3970f74)

![mini](https://user-images.githubusercontent.com/20502995/64253818-b014d780-cf50-11e9-8cea-1cccf98fc712.gif)

![mini2](https://image-static.segmentfault.com/380/918/3809182577-5ee22c36dfbca)

![home](https://user-images.githubusercontent.com/20502995/64253937-ef432880-cf50-11e9-985a-91b486c44807.png)

![view1](https://image-static.segmentfault.com/159/184/1591841002-5d77e7746a311)

![view2](https://image-static.segmentfault.com/279/203/2792034556-5d77a03ae6936)

![player](https://image-static.segmentfault.com/133/444/1334447915-5d77255b7d91a)

---

This project was generated with [vue-cli-plugin-electron-builder](https://github.com/nklayman/vue-cli-plugin-electron-builder) using [vue-cli3](https://cli.vuejs.org/). Documentation about the original structure can be found [here](https://nklayman.github.io/vue-cli-plugin-electron-builder/).

Binary file added build/electron-icon/icon.icns
Binary file not shown.
Binary file added build/electron-icon/icon.ico
Binary file not shown.
Binary file added build/electron-icon/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/electron-icon/uninst.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ module.exports = {
icon: "build/electron-icon/icon.icns",
},
files: ["**/*"],
asar: false,
asar: true,
nsis: {
// 是否一键安装,建议为 false,可以让用户点击下一步、下一步、下一步的形式安装程序,如果为true,当用户双击构建好的程序,自动安装程序并打开,即:一键安装(one-click installer)
oneClick: false,
Expand Down

0 comments on commit e322843

Please sign in to comment.