-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scroll extent calculated wrongly - clean version of PR #89 #94
Conversation
@Pomis would you know how to write a linux/bash script that add the |
@JulienMaille not really, never done that, but can have a look when I would have enough free time =)) |
Should be possible basically the same way as this. That's the line that sets the package.json's version each release. We just have to find |
We should be able to make it so that it first checks if the
However, I'm not really getting far with this. I'm trying to replace the patch block with this: |
Is sed un-greedy by default? |
So, putting: echo "PATCHING"
PATCH='[Patch]\nxpui.js_find_8008=,(\w+=)32,\nxpui.js_repl_8008=,`\${1}58,'
if cat config-xpui.ini | grep -oP '\[Patch\]'; then
perl -i -0777 -pe "s/\[Patch\].*?($|(\r*\n){2})/$PATCH\n\n/s" config-xpui.ini
else
echo -e "\n$PATCH" >> config-xpui.ini
fi after the |
@Pomis can you test this command line from a bash? echo "PATCHING"
PATCH='[Patch]
xpui.js_find_8008 = ,(\\w+=)32,
xpui.js_repl_8008 = ,\${1}58,'
if cat config-xpui.ini | grep -o '\[Patch\]'; then
perl -i -0777 -pe "s/\[Patch\].*?($|(\r*\n){2})/$PATCH\n\n/s" config-xpui.ini
else
echo -e "\n$PATCH" >> config-xpui.ini
fi |
@JulienMaille Getting
|
@Pomis Can you test the updated bash command and share a snapshot of the console? |
@SendNukez why removing then adding spicetify config extensions default-dynamic.js- extensions dribbblish-dynamic.js- extensions dribbblish.js- extensions Vibrant.min.js-
spicetify config extensions dribbblish-dynamic.js |
Oops, that's a mistake. |
I just realized, shouldn't we apply the patch before running |
No description provided.