2021-10-13 05:29:25 +05:30
|
|
|
#/bin/bash
|
|
|
|
|
2022-04-27 13:25:34 +05:30
|
|
|
# ICO
|
|
|
|
|
2022-10-18 12:31:48 +05:30
|
|
|
inkscape -w 16 -h 16 -o prismlauncher_16.png org.prismlauncher.PrismLauncher.svg
|
|
|
|
inkscape -w 24 -h 24 -o prismlauncher_24.png org.prismlauncher.PrismLauncher.svg
|
|
|
|
inkscape -w 32 -h 32 -o prismlauncher_32.png org.prismlauncher.PrismLauncher.svg
|
|
|
|
inkscape -w 48 -h 48 -o prismlauncher_48.png org.prismlauncher.PrismLauncher.svg
|
|
|
|
inkscape -w 64 -h 64 -o prismlauncher_64.png org.prismlauncher.PrismLauncher.svg
|
|
|
|
inkscape -w 128 -h 128 -o prismlauncher_128.png org.prismlauncher.PrismLauncher.svg
|
2021-10-13 05:29:25 +05:30
|
|
|
|
2022-10-18 12:31:48 +05:30
|
|
|
convert prismlauncher_128.png prismlauncher_64.png prismlauncher_48.png prismlauncher_32.png prismlauncher_24.png prismlauncher_16.png prismlauncher.ico
|
2021-10-13 05:29:25 +05:30
|
|
|
|
2022-10-18 12:31:48 +05:30
|
|
|
rm -f prismlauncher_*.png
|
2022-04-27 13:25:34 +05:30
|
|
|
|
2022-10-18 12:31:48 +05:30
|
|
|
inkscape -w 1024 -h 1024 -o prismlauncher_1024.png org.prismlauncher.PrismLauncher.bigsur.svg
|
2022-04-27 13:25:34 +05:30
|
|
|
|
2022-10-18 12:31:48 +05:30
|
|
|
mkdir prismlauncher.iconset
|
2022-04-27 13:25:34 +05:30
|
|
|
|
2022-10-18 12:31:48 +05:30
|
|
|
sips -z 16 16 prismlauncher_1024.png --out prismlauncher.iconset/icon_16x16.png
|
|
|
|
sips -z 32 32 prismlauncher_1024.png --out prismlauncher.iconset/icon_16x16@2x.png
|
|
|
|
sips -z 32 32 prismlauncher_1024.png --out prismlauncher.iconset/icon_32x32.png
|
|
|
|
sips -z 64 64 prismlauncher_1024.png --out prismlauncher.iconset/icon_32x32@2x.png
|
|
|
|
sips -z 128 128 prismlauncher_1024.png --out prismlauncher.iconset/icon_128x128.png
|
|
|
|
sips -z 256 256 prismlauncher_1024.png --out prismlauncher.iconset/icon_128x128@2x.png
|
|
|
|
sips -z 256 256 prismlauncher_1024.png --out prismlauncher.iconset/icon_256x256.png
|
|
|
|
sips -z 512 512 prismlauncher_1024.png --out prismlauncher.iconset/icon_256x256@2x.png
|
|
|
|
sips -z 512 512 prismlauncher_1024.png --out prismlauncher.iconset/icon_512x512.png
|
|
|
|
cp prismlauncher_1024.png prismlauncher.iconset/icon_512x512@2x.png
|
2021-10-13 05:29:25 +05:30
|
|
|
|
2022-10-18 12:31:48 +05:30
|
|
|
iconutil -c icns prismlauncher.iconset
|
2021-10-13 05:29:25 +05:30
|
|
|
|
2022-10-18 12:31:48 +05:30
|
|
|
rm -f prismlauncher_*.png
|
|
|
|
rm -rf prismlauncher.iconset
|
2022-01-10 00:48:51 +05:30
|
|
|
|
|
|
|
for dir in ../launcher/resources/*/scalable
|
|
|
|
do
|
2022-10-18 12:31:48 +05:30
|
|
|
cp -v org.prismlauncher.PrismLauncher.svg $dir/launcher.svg
|
2022-01-10 00:48:51 +05:30
|
|
|
done
|