mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 06:42:03 +00:00
TOOLS/gen-x11-icon.sh: fix for recent ImageMagick
Apparently ImageMagick no longer appends a newline to the format. This also sets the execute bit on the script.
This commit is contained in:
parent
350d902799
commit
a9833a71ce
2
TOOLS/gen-x11-icon.sh
Normal file → Executable file
2
TOOLS/gen-x11-icon.sh
Normal file → Executable file
@ -5,7 +5,7 @@
|
||||
|
||||
conv() {
|
||||
echo
|
||||
identify -format "icon: %w %h" "$1"
|
||||
echo `identify -format "icon: %w %h" "$1"`
|
||||
convert "$1" -depth 8 rgba:-
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user