Gio.AppInfo.prototype.delete

function delete(): Boolean {
    // Gjs wrapper for g_app_info_delete()
}
  

Tries to delete a Gio.AppInfo.

On some platforms, there may be a difference between user-defined #GAppInfos which can be deleted, and system-wide ones which cannot. See Gio.AppInfo.prototype.can_delete.

Since 2.20

Returns

true if appinfo has been deleted