- The packaged macOS app stayed on "Starting Waggle…": the shell looked for node, service.js, native/ and node_modules/ next to the executable, the Windows layout, while a macOS bundle keeps them in Contents/Resources/resources. bundled_resources_dir() checks both. - The startup screen used min-height 100vh on an unstyled body, which showed scroll bars, and a fixed light text colour that is invisible in the light theme. It is now styled from index.html, fixed to the window, with a dark text colour for the light theme.
44 lines
1.6 KiB
HTML
44 lines
1.6 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
<!-- Apply the persisted theme before hydration without weakening the
|
|
production script-src policy. The classic same-origin script blocks
|
|
parsing briefly so light-mode users do not see a dark first frame. -->
|
|
<script src="/theme-init.js"></script>
|
|
<style>
|
|
html { background-color: #14110b; }
|
|
html[data-theme="light"] { background-color: #f7f1e4; }
|
|
/* Startup screen (src/main.tsx), shown before the app's styles load. It
|
|
fills the window without overflowing the unstyled body. */
|
|
[data-waggle-startup] {
|
|
position: fixed;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font: 16px system-ui, sans-serif;
|
|
color: #f6f1e4;
|
|
}
|
|
html[data-theme="light"] [data-waggle-startup] { color: #14110b; }
|
|
</style>
|
|
|
|
<link rel="icon" type="image/png" href="/waggle-logo.png" />
|
|
<link rel="apple-touch-icon" href="/waggle-logo.png" />
|
|
<title>Waggle OS</title>
|
|
<meta name="description" content="Workspace-native AI agent platform with persistent memory" />
|
|
<meta name="author" content="Marko Markovic" />
|
|
|
|
<meta property="og:title" content="Waggle OS" />
|
|
<meta property="og:description" content="Workspace-native AI agent platform with persistent memory" />
|
|
<meta property="og:type" content="website" />
|
|
</head>
|
|
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|