From d2a7de4ecc7a2f01d34bdf2bcd39ca89d9c1fd0e Mon Sep 17 00:00:00 2001 From: mantou132 <709922234@qq.com> Date: Sat, 18 May 2024 11:52:21 +0800 Subject: [PATCH] Fix publish action --- .github/workflows/build-release.yml | 7 ++++++- package.json | 2 +- public/manifest.json | 2 +- src/page/config.ts | 8 ++++---- 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 03576cc..f5f9162 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -19,12 +19,17 @@ jobs: - run: yarn - run: yarn --cwd functions + + # xpi - run: yarn run build:firefox - - run: npx web-ext --config web-ext.config.js build - run: npx web-ext --config web-ext.config.js sign env: WEB_EXT_API_KEY: ${{ secrets.FIREFOX_API_KEY }} WEB_EXT_API_SECRET: ${{ secrets.FIREFOX_API_SECRET }} + + # zip + - run: yarn run build + - run: npx web-ext --config web-ext.config.js build - name: Upload to release uses: svenstaro/upload-release-action@v2 diff --git a/package.json b/package.json index 0bed72e..295ce8d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "spotify-lyrics", - "version": "1.6.0", + "version": "1.6.1", "description": "Desktop Spotify Web Player Instant Synchronized Lyrics", "scripts": { "lint": "tsc --noEmit && eslint --ext .ts --fix src/", diff --git a/public/manifest.json b/public/manifest.json index 3341953..7a9fc8b 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,7 +1,7 @@ { "$schema": "https://raw.githubusercontent.com/extend-chrome/manifest-json-schema/main/schema/manifest.schema.json", "name": "__MSG_extensionName__", - "version": "1.6.0", + "version": "1.6.1", "manifest_version": 3, "description": "__MSG_extensionDescription__", "default_locale": "en", diff --git a/src/page/config.ts b/src/page/config.ts index 7a46f85..31c70af 100644 --- a/src/page/config.ts +++ b/src/page/config.ts @@ -79,8 +79,8 @@ export const localConfig: LocalConfig = (() => { margin-left: var(--ytmusic-like-button-renderer-button-spacing, 8px); } .${LYRICS_CLASSNAME} tp-yt-iron-icon { - background: var(--iron-icon-fill-color, currentcolor); - transform: rotate(90deg) scale(1.2); + background: var(--ytmusic-text-secondary); + transform: rotate(90deg) scale(1.1); -webkit-mask: url(${iconUrl}) center / 100% no-repeat; mask: url(${iconUrl}) center / 100% no-repeat; } @@ -201,12 +201,12 @@ export const localConfig: LocalConfig = (() => { } .${LYRICS_CLASSNAME} svg { fill: transparent; - background: currentColor; + background: var(--text-subdued, rgb(106, 106, 106)); -webkit-mask: url(${microphoneIconUrl}) center / 100% no-repeat; mask: url(${microphoneIconUrl}) center / 100% no-repeat; } .${LYRICS_CLASSNAME}.${LYRICS_ACTIVE_CLASSNAME} svg { - background: #1db954; + background: var(--text-bright-accent, rgb(17, 122, 55)); } `, // hidden album expand button