forked from distok/cutthecord
customtheme: make fixsplash script get the image path from args
This commit is contained in:
parent
60e4d5282b
commit
220d5ded1b
2 changed files with 4 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
This patch replaces theme with a pitch black theme, similar to [0cord](https://gitlab.com/ao/0cord). However, you're free to design your own theme. A reference for the values you need are provided below.
|
This patch replaces theme with a pitch black theme, similar to [0cord](https://gitlab.com/ao/0cord). However, you're free to design your own theme. A reference for the values you need are provided below.
|
||||||
|
|
||||||
Copy `asset_loading.png` to root of Discord's extracted folder and run `fixsplash.sh` to fix the splash.
|
Run `fixsplash.sh <full path of asset_loading.png>` to fix the splash.
|
||||||
|
|
||||||
#### Bugs / Side effects
|
#### Bugs / Side effects
|
||||||
- Not all colors are replaced (almost all are, though)
|
- Not all colors are replaced (almost all are, though)
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
\cp asset_loading.png res/drawable-xxhdpi/asset_loading.png
|
#!/bin/bash
|
||||||
\cp asset_loading.png res/drawable-xxxhdpi/asset_loading.png
|
\cp "$1" res/drawable-xxhdpi/asset_loading.png
|
||||||
|
\cp "$1" res/drawable-xxxhdpi/asset_loading.png
|
||||||
|
|
Loading…
Reference in a new issue