aboutsummaryrefslogtreecommitdiff
path: root/program_info/genicons.sh
diff options
context:
space:
mode:
authorLenny McLennington <lennymclennington@protonmail.com>2021-12-20 02:41:08 +0000
committerLenny McLennington <lennymclennington@protonmail.com>2021-12-20 02:57:13 +0000
commite6246a9306567f5646d3bc1971a1c5c4cf8f4f54 (patch)
tree17a4e24951924f1cfcda2558bf5d13bd620a5625 /program_info/genicons.sh
parentdcb57f199531e45ac4bf947eaf8cbfe5e66fce23 (diff)
downloadPrismLauncher-e6246a9306567f5646d3bc1971a1c5c4cf8f4f54.tar.gz
PrismLauncher-e6246a9306567f5646d3bc1971a1c5c4cf8f4f54.tar.bz2
PrismLauncher-e6246a9306567f5646d3bc1971a1c5c4cf8f4f54.zip
Move MSA Client ID to the same place as the others
MSA Client ID has been moved to CMakeLists.txt, and defaults to the Client ID for the PolyMC application. Removed secrets/notsecrets library, replace with (temporary?) program_info subdirectory.
Diffstat (limited to 'program_info/genicons.sh')
-rwxr-xr-xprogram_info/genicons.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/program_info/genicons.sh b/program_info/genicons.sh
new file mode 100755
index 00000000..e6f704f9
--- /dev/null
+++ b/program_info/genicons.sh
@@ -0,0 +1,18 @@
+#/bin/bash
+
+inkscape -w 16 -h 16 -o logo_16.png logo.svg
+inkscape -w 24 -h 24 -o logo_24.png logo.svg
+inkscape -w 32 -h 32 -o logo_32.png logo.svg
+inkscape -w 48 -h 48 -o logo_48.png logo.svg
+inkscape -w 64 -h 64 -o logo_64.png logo.svg
+inkscape -w 128 -h 128 -o logo_128.png logo.svg
+
+convert logo_128.png logo_64.png logo_48.png logo_32.png logo_24.png logo_16.png Launcher.ico
+
+inkscape -w 256 -h 256 -o logo_256.png logo.svg
+inkscape -w 512 -h 512 -o logo_512.png logo.svg
+inkscape -w 1024 -h 1024 -o logo_1024.png logo.svg
+
+png2icns Launcher.icns logo_1024.png logo_512.png logo_256.png logo_128.png logo_32.png logo_16.png
+
+rm -f logo_*.png