V1.12.0-rc3-beta18 missing Diagnose, and "Check for Update" and Auto-Update option cannot be changed

Currently, this is what we have:

static bool user_info_is_admin() {
    
    struct group *admin_group = getgrnam("admin");
    if (admin_group == NULL) {
        return false;
    }
    gid_t admin_group_id = admin_group->gr_gid;
    int group_count = getgroups(0, nil);
    gid_t group_list[group_count];
    group_count = getgroups(group_count, group_list);
    for (int i=0; i<group_count; i++) {
        if (group_list[i] == admin_group_id) {
            return true;
        }
    }
    return false;
}

I can confirm that update has returned to the menu in beta 21.
Thanks for the fix!

1 Like