20, 'noVNC dependency graph was not validated'); $assert(is_file($public . '/vendor/novnc/LICENSE.txt'), 'Vendored noVNC license missing'); foreach (['almalinux', 'ubuntu', 'debian', 'centos'] as $system) { $assert(is_file($public . '/' . $system . '-icon.svg'), 'Local OS icon missing: ' . $system); } foreach (['user/layout_header.tpl', 'user/layout_plain_header.tpl', 'auth/layout_header.tpl'] as $template) { $source = file_get_contents($root . '/resources/views/venix/' . $template); $assert(str_contains($source, '/cloud/styles.css') && str_contains($source, '/cloud/account.css'), 'Unified user styles missing: ' . $template); $assert(!str_contains($source, 'user-home.css') && !str_contains($source, '/css/auth.css'), 'Retired user stylesheet still active: ' . $template); } $assert(!str_contains(file_get_contents($root . '/.gitignore'), "\nvendor/"), 'Nested noVNC vendor directory would be omitted from Git'); echo 'Unified user styles, local icons and noVNC source modules passed: ' . count($seen) . " modules.\n";