change action to not amend

This commit is contained in:
Send_Nukez 2021-10-25 18:40:44 +02:00
parent c9ad5f74fc
commit 9b69b57c9d
4 changed files with 11221 additions and 11146 deletions

View file

@ -16,8 +16,6 @@ jobs:
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.head_ref }}
# This is important to fetch the changes to the previous commit
fetch-depth: 0
- uses: actions/setup-node@v2
with:
@ -25,7 +23,6 @@ jobs:
- run: npm install
- run: npm run build
- run: |
echo "Amending the current commit..."
cd "$GITHUB_ACTION_PATH"
git config --global user.email "actions@github.com"
@ -33,5 +30,5 @@ jobs:
git pull
git add -f dist
git commit --amend --no-edit
git commit -m "Compile Webpack"
git push origin -f

File diff suppressed because one or more lines are too long

2706
dist/user.css vendored

File diff suppressed because it is too large Load diff

View file

@ -1075,10 +1075,7 @@ Spicetify.Player.addEventListener("songchange", songchange);
async function pickCoverColor(img) {
if (!img.currentSrc.startsWith("spotify:")) return;
console.log(img);
console.log(new Vibrant(img, 5));
var swatches = await new Promise((resolve, reject) => new Vibrant(img, 5).getPalette().then(resolve).catch(reject));
console.log(swatches);
var lightCols = ["Vibrant", "DarkVibrant", "Muted", "LightVibrant"];
var darkCols = ["Vibrant", "LightVibrant", "Muted", "DarkVibrant"];