Skip to content

Commit

Permalink
Fix publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
mantou132 committed May 18, 2024
1 parent 6193627 commit d2a7de4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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/",
Expand Down
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
8 changes: 4 additions & 4 deletions src/page/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d2a7de4

Please sign in to comment.