diff --git a/core/systems/library/library_desktop.gd b/core/systems/library/library_desktop.gd index a9b551c6..698c32e9 100644 --- a/core/systems/library/library_desktop.gd +++ b/core/systems/library/library_desktop.gd @@ -34,7 +34,10 @@ func _desktop_file_to_launch_item(file: String) -> LibraryLaunchItem: launch_item.installed = true launch_item.categories = [] + logger.debug("Parsing desktop file:", file) var f := FileAccess.open(file, FileAccess.READ) + if not f: + return null var text := f.get_as_text() var lines := text.split("\n") for line in lines: