Shrink Icon For Flatpak

This commit is contained in:
TheBrokenRail 2024-09-22 21:21:53 -04:00
parent 3598fbc922
commit 65ee4d8a78
3 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ install(
) )
# Icon # Icon
set(ICON_DIR "${MCPI_SHARE_DIR}/icons/hicolor/1024x1024/apps") set(ICON_DIR "${MCPI_SHARE_DIR}/icons/hicolor/512x512/apps")
install( install(
FILES "icon.png" FILES "icon.png"
DESTINATION "${ICON_DIR}" DESTINATION "${ICON_DIR}"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 40 KiB

View File

@ -74,7 +74,7 @@ static void Gui_renderDebugInfo_injection(__attribute__((unused)) Gui_renderDebu
void init_f3() { void init_f3() {
if (feature_has("F3 Debug Information", server_disabled)) { if (feature_has("F3 Debug Information", server_disabled)) {
overwrite_calls(Gui_renderDebugInfo, Gui_renderDebugInfo_injection); overwrite_calls(Gui_renderDebugInfo, Gui_renderDebugInfo_injection);
misc_run_on_game_key_press([](__attribute__((unused)) Minecraft *minecraft, int key) { misc_run_on_game_key_press([](__attribute__((unused)) Minecraft *minecraft, const int key) {
if (key == MC_KEY_F3) { if (key == MC_KEY_F3) {
debug_info_shown = !debug_info_shown; debug_info_shown = !debug_info_shown;
return true; return true;