customtheme: make fixsplash script get the image path from args

This commit is contained in:
ave 2019-01-28 00:48:40 +03:00
parent 60e4d5282b
commit 220d5ded1b
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B
2 changed files with 4 additions and 3 deletions

View file

@ -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)

View file

@ -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