mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-05-19 04:08:53 +00:00
added uninstall.sh
This commit is contained in:
parent
7401f0ef24
commit
cdba4468ba
1 changed files with 16 additions and 0 deletions
16
uninstall.sh
Normal file
16
uninstall.sh
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
# Copyright 2019 khanhas. GPL license.
|
||||
# Edited from project Denoland install script (https://github.com/denoland/deno_install)
|
||||
|
||||
set -e
|
||||
|
||||
echo "UN-INSTALLING"
|
||||
cd "$(dirname "$(spicetify -c)")/Themes/DribbblishDynamic"
|
||||
spicetify config current_theme " " extensions dribbblish-dynamic.js-
|
||||
|
||||
echo "UN-PATCHING"
|
||||
if cat config-xpui.ini | grep -o '\[Patch\]'; then
|
||||
perl -i -0777 -pe "s/\[Patch\].*?($|(\r*\n){2})//s" config-xpui.ini
|
||||
fi
|
||||
|
||||
spicetify apply
|
||||
Loading…
Reference in a new issue