forked from qier222/YesPlayMusic
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/qier222/YesPlayMusic into…
… qier222-master
- Loading branch information
Showing
32 changed files
with
1,571 additions
and
1,019 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
name: Release | ||
|
||
env: | ||
YARN_INSTALL_NOPT: yarn add --ignore-platform --ignore-optional | ||
|
||
on: | ||
push: | ||
branches: | ||
|
@@ -39,9 +42,41 @@ jobs: | |
- name: Install Snapcraft (on Ubuntu) | ||
uses: samuelmeuli/action-snapcraft@v1 | ||
if: startsWith(matrix.os, 'ubuntu') | ||
# with: | ||
# Disable since the Snapcraft token is currently not working | ||
# snapcraft_token: ${{ secrets.snapcraft_token }} | ||
with: | ||
snapcraft_token: ${{ secrets.snapcraft_token }} | ||
|
||
- id: get_unm_version | ||
name: Get the installed UNM version | ||
run: | | ||
yarn --ignore-optional | ||
unm_version=$(node -e "console.log(require('./node_modules/@unblockneteasemusic/rust-napi/package.json').version)") | ||
echo "::set-output name=unmver::${unm_version}" | ||
shell: bash | ||
|
||
- name: Install UNM dependencies for Windows | ||
if: runner.os == 'Windows' | ||
run: | | ||
${{ env.YARN_INSTALL_NOPT }} \ | ||
@unblockneteasemusic/rust-napi-win32-x64-msvc@${{steps.get_unm_version.outputs.unmver}} | ||
shell: bash | ||
|
||
- name: Install UNM dependencies for macOS | ||
if: runner.os == 'macOS' | ||
run: | | ||
${{ env.YARN_INSTALL_NOPT }} \ | ||
@unblockneteasemusic/rust-napi-darwin-x64@${{steps.get_unm_version.outputs.unmver}} \ | ||
@unblockneteasemusic/rust-napi-darwin-arm64@${{steps.get_unm_version.outputs.unmver}} \ | ||
dmg-license | ||
shell: bash | ||
|
||
- name: Install UNM dependencies for Linux | ||
if: runner.os == 'Linux' | ||
run: | | ||
${{ env.YARN_INSTALL_NOPT }} \ | ||
@unblockneteasemusic/rust-napi-linux-x64-gnu@${{steps.get_unm_version.outputs.unmver}} \ | ||
@unblockneteasemusic/rust-napi-linux-arm64-gnu@${{steps.get_unm_version.outputs.unmver}} \ | ||
@unblockneteasemusic/rust-napi-linux-arm-gnueabihf@${{steps.get_unm_version.outputs.unmver}} | ||
shell: bash | ||
|
||
- name: Build/release Electron app | ||
uses: samuelmeuli/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "yesplaymusic", | ||
"version": "0.4.4", | ||
"version": "0.4.5", | ||
"private": true, | ||
"description": "A third party music player for Netease Music", | ||
"author": "qier222<[email protected]>", | ||
|
@@ -23,27 +23,27 @@ | |
}, | ||
"main": "background.js", | ||
"dependencies": { | ||
"@unblockneteasemusic/server": "v0.27.0-rc.6", | ||
"@unblockneteasemusic/rust-napi": "^0.3.0-pre.1", | ||
"NeteaseCloudMusicApi": "^4.5.2", | ||
"axios": "^0.21.0", | ||
"axios": "^0.26.1", | ||
"change-case": "^4.1.2", | ||
"cli-color": "^2.0.0", | ||
"color": "^3.1.3", | ||
"color": "^4.2.3", | ||
"core-js": "^3.6.5", | ||
"crypto-js": "^4.0.0", | ||
"dayjs": "^1.8.36", | ||
"dexie": "^3.0.3", | ||
"discord-rich-presence": "^0.0.8", | ||
"electron": "^13.6.7", | ||
"electron-builder": "^23.0.0", | ||
"electron-context-menu": "^2.3.0", | ||
"electron-context-menu": "^3.1.2", | ||
"electron-debug": "^3.1.0", | ||
"electron-devtools-installer": "^3.2", | ||
"electron-icon-builder": "^1.0.2", | ||
"electron-is-dev": "^1.2.0", | ||
"electron-icon-builder": "^2.0.1", | ||
"electron-is-dev": "^2.0.0", | ||
"electron-log": "^4.3.0", | ||
"electron-store": "^6.0.1", | ||
"electron-updater": "^4.3.5", | ||
"electron-store": "^8.0.1", | ||
"electron-updater": "^5.0.1", | ||
"express": "^4.17.1", | ||
"express-fileupload": "^1.2.0", | ||
"express-http-proxy": "^1.6.2", | ||
|
@@ -62,12 +62,12 @@ | |
"prettier": "2.5.1", | ||
"qrcode": "^1.4.4", | ||
"register-service-worker": "^1.7.1", | ||
"svg-sprite-loader": "^5.0.0", | ||
"svg-sprite-loader": "^6.0.11", | ||
"tunnel": "^0.0.6", | ||
"vscode-codicons": "^0.0.17", | ||
"vue": "^2.6.11", | ||
"vue-analytics": "^5.22.1", | ||
"vue-clipboard2": "^0.3.1", | ||
"vue-gtag": "1", | ||
"vue-i18n": "^8.22.0", | ||
"vue-router": "^3.4.3", | ||
"vue-slider-component": "^3.2.5", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
commit_template: 'style: with ${restyler.name}' | ||
restylers: | ||
- prettier | ||
- prettier-json | ||
- prettier-markdown | ||
- prettier-yaml | ||
- whitespace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -147,6 +147,7 @@ export default { | |
label { | ||
font-size: 12px; | ||
} | ||
user-select: none; | ||
} | ||
} | ||
} | ||
|
Oops, something went wrong.