Skip to content

Commit

Permalink
fix(Makefile): use libiio mirror and free removed children
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowApex committed Aug 25, 2024
1 parent bc845b0 commit 9cb4054
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -386,9 +386,10 @@ $(CACHE_DIR)/inputplumber.tar.gz: $(CACHE_DIR)/libiio $(CACHE_DIR)/libserialport
wget -O $@ https://github.com/ShadowBlip/InputPlumber/releases/download/$${IP_VERSION}/inputplumber.tar.gz


LIBIIO_URL ?= https://mirror.rackspace.com/archlinux/extra/os/x86_64/libiio-0.25-3-x86_64.pkg.tar.zst
$(CACHE_DIR)/libiio:
rm -rf $(CACHE_DIR)/libiio*
wget https://archlinux.org/packages/extra/x86_64/libiio/download/ \
wget $(LIBIIO_URL) \
-O $(CACHE_DIR)/libiio.tar.zst
zstd -d $(CACHE_DIR)/libiio.tar.zst
mkdir -p $(CACHE_DIR)/libiio
Expand Down
1 change: 1 addition & 0 deletions core/ui/common/osk/on_screen_keyboard.gd
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ func populate_keyboard() -> void:
# Clear the current layout
for child in rows_container.get_children():
rows_container.remove_child(child)
child.queue_free()

# Populate the keyboard keys based on the given layout
var idx := 0
Expand Down
1 change: 1 addition & 0 deletions core/ui/components/containers/overlay_container.gd
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ func remove_overlay(overlay: OverlayProvider) -> void:
return
if overlay in get_children():
remove_child(overlay)
overlay.queue_free()
overlays.erase(overlay.provider_id)


Expand Down

0 comments on commit 9cb4054

Please sign in to comment.