Skip to content

Commit

Permalink
fix: 修复构建配置
Browse files Browse the repository at this point in the history
  • Loading branch information
imsyy committed Nov 29, 2023
1 parent dc11965 commit 740ffa3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
dist/*.msi
# 创建 GitHub Release
- name: Release
uses: softprops/action-gh-release@v0.1.14
uses: softprops/action-gh-release@v0.1.15
if: startsWith(github.ref, 'refs/tags/v')
with:
draft: true
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
dist/*.zip
# 创建 GitHub Release
- name: Release
uses: softprops/action-gh-release@v0.1.14
uses: softprops/action-gh-release@v0.1.15
if: startsWith(github.ref, 'refs/tags/v')
with:
draft: true
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
dist/*.rpm
# 创建 GitHub Release
- name: Release
uses: softprops/action-gh-release@v0.1.14
uses: softprops/action-gh-release@v0.1.15
if: startsWith(github.ref, 'refs/tags/v')
with:
draft: true
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,4 @@ pnpm build:mac

请使用者在使用本项目时遵守相关法律法规,**不要将本项目用于任何商业及非法用途。如有违反,一切后果由使用者自负。** 同时,使用者应该自行承担因使用本项目而带来的风险和责任。本项目开发者不对本项目所提供的服务和内容做出任何保证

**任何未经授权的商业用途,以及对网易云音乐 API 使用协议的违反,将导致对用户采取法律行动的可能性**

感谢您的理解与合作
感谢您的理解
9 changes: 4 additions & 5 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ asarUnpack:
# Windows 平台配置
win:
# 可执行文件名
executableName: splayer-desktop
executableName: splayer
# 应用程序的图标文件路径
icon: public/images/logo/favicon_256.png
# 构建类型
Expand Down Expand Up @@ -47,9 +47,9 @@ nsis:
# macOS 平台配置
mac:
# 可执行文件名
executableName: splayer-desktop
executableName: splayer
# 应用程序的图标文件路径
icon: public/images/logo/favicon_256.png
icon: public/images/logo/favicon_512.png
# 权限继承的文件路径
entitlementsInherit: build/entitlements.mac.plist
# 扩展信息,如权限描述
Expand All @@ -69,13 +69,12 @@ dmg:
# Linux 平台配置
linux:
# 可执行文件名
executableName: splayer-desktop
executableName: splayer
# 应用程序的图标文件路径
icon: public/images/logo/favicon_256.png
# 构建类型
target:
- AppImage
- portable
- snap
- deb
- rpm
Expand Down
Binary file added public/images/logo/favicon_512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 740ffa3

Please sign in to comment.