Shrink Icon For Flatpak
This commit is contained in:
parent
3598fbc922
commit
65ee4d8a78
@ -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}"
|
||||||
|
BIN
images/icon.png
BIN
images/icon.png
Binary file not shown.
Before Width: | Height: | Size: 97 KiB After Width: | Height: | Size: 40 KiB |
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user