Shrink Icon For Flatpak
All checks were successful
CI / Build (AMD64) (push) Successful in 21m8s
CI / Build (ARM64) (push) Successful in 23m43s
CI / Build (ARMHF) (push) Successful in 16m16s
CI / Test (AMD64, Server) (push) Successful in 2m26s
CI / Build Example Mods (push) Successful in 1m41s
CI / Test (ARM64, Client) (push) Successful in 4m41s
CI / Test (ARM64, Server) (push) Successful in 1m39s
CI / Test (AMD64, Client) (push) Successful in 6m22s
CI / Test (ARMHF, Client) (push) Successful in 4m53s
CI / Test (ARMHF, Server) (push) Successful in 1m51s
CI / Release (push) Has been skipped

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
set(ICON_DIR "${MCPI_SHARE_DIR}/icons/hicolor/1024x1024/apps")
set(ICON_DIR "${MCPI_SHARE_DIR}/icons/hicolor/512x512/apps")
install(
FILES "icon.png"
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() {
if (feature_has("F3 Debug Information", server_disabled)) {
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) {
debug_info_shown = !debug_info_shown;
return true;