From 441ab7eedcb8fe120a7f934684ed5545cdd7a4b6 Mon Sep 17 00:00:00 2001 From: Petr Mrázek Date: Wed, 13 Oct 2021 01:59:25 +0200 Subject: NOISSUE debranding for real, initial work This is probably very broken on macOS and Windows and will need a lot of work to complete fully. --- notsecrets/CMakeLists.txt | 5 + notsecrets/Launcher.icns | Bin 0 -> 304757 bytes notsecrets/Launcher.ico | Bin 0 -> 102134 bytes notsecrets/Launcher.manifest | 31 +++++ notsecrets/genicons.sh | 18 +++ notsecrets/launcher.rc | 29 +++++ notsecrets/logo.svg | 274 +++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 357 insertions(+) create mode 100644 notsecrets/Launcher.icns create mode 100644 notsecrets/Launcher.ico create mode 100644 notsecrets/Launcher.manifest create mode 100755 notsecrets/genicons.sh create mode 100644 notsecrets/launcher.rc create mode 100644 notsecrets/logo.svg (limited to 'notsecrets') diff --git a/notsecrets/CMakeLists.txt b/notsecrets/CMakeLists.txt index f27aeb70..88504a4d 100644 --- a/notsecrets/CMakeLists.txt +++ b/notsecrets/CMakeLists.txt @@ -2,3 +2,8 @@ add_library(secrets STATIC Secrets.cpp Secrets.h) target_link_libraries(secrets Qt5::Core) target_compile_definitions(secrets PUBLIC -DEMBED_SECRETS) target_include_directories(secrets PUBLIC .) + +set(Launcher_Name "Launcher" PARENT_SCOPE) +set(Launcher_Copyright "MultiMC Contributors" PARENT_SCOPE) + +set(Launcher_Branding_ICNS "notsecrets/Launcher.icns") diff --git a/notsecrets/Launcher.icns b/notsecrets/Launcher.icns new file mode 100644 index 00000000..951b74fc Binary files /dev/null and b/notsecrets/Launcher.icns differ diff --git a/notsecrets/Launcher.ico b/notsecrets/Launcher.ico new file mode 100644 index 00000000..9308958f Binary files /dev/null and b/notsecrets/Launcher.ico differ diff --git a/notsecrets/Launcher.manifest b/notsecrets/Launcher.manifest new file mode 100644 index 00000000..0ee781ee --- /dev/null +++ b/notsecrets/Launcher.manifest @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + Custom Minecraft launcher for managing multiple installs. + + + + + + + + + + + + + + + diff --git a/notsecrets/genicons.sh b/notsecrets/genicons.sh new file mode 100755 index 00000000..e6f704f9 --- /dev/null +++ b/notsecrets/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 diff --git a/notsecrets/launcher.rc b/notsecrets/launcher.rc new file mode 100644 index 00000000..d7e80888 --- /dev/null +++ b/notsecrets/launcher.rc @@ -0,0 +1,29 @@ +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include + +IDI_ICON1 ICON DISCARDABLE "Laucher.ico" +1 RT_MANIFEST "Laucher.manifest" + +VS_VERSION_INFO VERSIONINFO +FILEVERSION 1,0,0,0 +FILEOS VOS_NT_WINDOWS32 +FILETYPE VFT_APP +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "000004b0" + BEGIN + VALUE "CompanyName", "MultiMC Contributors" + VALUE "FileDescription", "A Minecraft Launcher" + VALUE "FileVersion", "1.0.0.0" + VALUE "ProductName", "Laucher" + VALUE "ProductVersion", "5" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0000, 0x04b0 // Unicode + END +END diff --git a/notsecrets/logo.svg b/notsecrets/logo.svg new file mode 100644 index 00000000..6d32064a --- /dev/null +++ b/notsecrets/logo.svg @@ -0,0 +1,274 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + -- cgit