@oonacode/linux-x64 0.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -0
- package/build/Release/better_sqlite3.node +0 -0
- package/oona +0 -0
- package/package.json +32 -0
- package/prebuilds/linux-x64.node +0 -0
- package/web-ui/assets/index-BGTw10jY.css +2 -0
- package/web-ui/assets/index-B_GeIONP.js +109 -0
- package/web-ui/favicon.svg +1 -0
- package/web-ui/index.html +99 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none"><rect x="0" y="0" width="24" height="24" rx="6" fill="#fff"/><path d="M0.72 12a11.28 11.28 0 1 0 22.56 0a11.28 11.28 0 1 0 -22.56 0ZM4.8 12a7.2 7.2 0 1 0 14.4 0a7.2 7.2 0 1 0 -14.4 0ZM7.44 12a4.56 4.56 0 1 0 9.12 0a4.56 4.56 0 1 0 -9.12 0Z" fill="#000" fill-rule="evenodd"/></svg>
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
|
|
6
|
+
<meta name="color-scheme" content="light dark" />
|
|
7
|
+
<meta name="referrer" content="no-referrer" />
|
|
8
|
+
<!-- The one OonaCode mark (packages/website/src/brand/mark.ts). Relative, like every other
|
|
9
|
+
asset here: the host serves this bundle from its own root and from the desktop app. -->
|
|
10
|
+
<link rel="icon" type="image/svg+xml" href="./favicon.svg" />
|
|
11
|
+
<title>OonaCode</title>
|
|
12
|
+
<!--
|
|
13
|
+
The splash below is INLINE on purpose (owner, 2026-09-01: *"first time launching the app
|
|
14
|
+
takes too long, it opens white empty window for 10 seconds"*).
|
|
15
|
+
|
|
16
|
+
The desktop shell already waits for `ready-to-show` before showing the window, but that fires
|
|
17
|
+
on the first PAINT — and the first paint of a React SPA is an empty `#root`. Everything after
|
|
18
|
+
it takes time on a cold start: parsing the bundle, then `bootstrapFromWindow`, then the host
|
|
19
|
+
service answering, which on a first run is starting from scratch. The app has a proper
|
|
20
|
+
loading view (`AccountLoadingView`) but it cannot render until React has mounted, which is
|
|
21
|
+
exactly the window being complained about.
|
|
22
|
+
|
|
23
|
+
So this markup ships in the HTML itself: no bundle, no stylesheet, no request. It is painted
|
|
24
|
+
with the document and replaced the moment `createRoot().render()` runs, which clears `#root`.
|
|
25
|
+
Keep it dependency-free — anything it had to fetch would reintroduce the blank frame it
|
|
26
|
+
exists to remove.
|
|
27
|
+
-->
|
|
28
|
+
<style>
|
|
29
|
+
:root {
|
|
30
|
+
--oona-splash-bg: #f8fafc;
|
|
31
|
+
--oona-splash-fg: #64748b;
|
|
32
|
+
--oona-splash-ring: #cbd5e1;
|
|
33
|
+
--oona-splash-accent: #6366f1;
|
|
34
|
+
}
|
|
35
|
+
@media (prefers-color-scheme: dark) {
|
|
36
|
+
:root {
|
|
37
|
+
/* The same ground the Electron window paints behind the page, so showing the window and
|
|
38
|
+
painting this frame do not flash two different colours. */
|
|
39
|
+
--oona-splash-bg: #0b0f19;
|
|
40
|
+
--oona-splash-fg: #94a3b8;
|
|
41
|
+
--oona-splash-ring: #1e293b;
|
|
42
|
+
--oona-splash-accent: #818cf8;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
html,
|
|
46
|
+
body {
|
|
47
|
+
margin: 0;
|
|
48
|
+
height: 100%;
|
|
49
|
+
background: var(--oona-splash-bg);
|
|
50
|
+
}
|
|
51
|
+
#oona-splash {
|
|
52
|
+
position: fixed;
|
|
53
|
+
inset: 0;
|
|
54
|
+
display: flex;
|
|
55
|
+
flex-direction: column;
|
|
56
|
+
align-items: center;
|
|
57
|
+
justify-content: center;
|
|
58
|
+
gap: 14px;
|
|
59
|
+
font:
|
|
60
|
+
500 13px/1.4 system-ui,
|
|
61
|
+
-apple-system,
|
|
62
|
+
Segoe UI,
|
|
63
|
+
sans-serif;
|
|
64
|
+
color: var(--oona-splash-fg);
|
|
65
|
+
background: var(--oona-splash-bg);
|
|
66
|
+
}
|
|
67
|
+
#oona-splash .ring {
|
|
68
|
+
width: 30px;
|
|
69
|
+
height: 30px;
|
|
70
|
+
border-radius: 50%;
|
|
71
|
+
border: 2.5px solid var(--oona-splash-ring);
|
|
72
|
+
border-top-color: var(--oona-splash-accent);
|
|
73
|
+
animation: oona-spin 0.8s linear infinite;
|
|
74
|
+
}
|
|
75
|
+
/* Respect the setting rather than animating regardless — the message alone still says the
|
|
76
|
+
app is working. */
|
|
77
|
+
@media (prefers-reduced-motion: reduce) {
|
|
78
|
+
#oona-splash .ring {
|
|
79
|
+
animation-duration: 2.4s;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
@keyframes oona-spin {
|
|
83
|
+
to {
|
|
84
|
+
transform: rotate(360deg);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
</style>
|
|
88
|
+
<script type="module" crossorigin src="./assets/index-B_GeIONP.js"></script>
|
|
89
|
+
<link rel="stylesheet" crossorigin href="./assets/index-BGTw10jY.css">
|
|
90
|
+
</head>
|
|
91
|
+
<body>
|
|
92
|
+
<div id="root">
|
|
93
|
+
<div id="oona-splash" role="status" aria-live="polite">
|
|
94
|
+
<div class="ring"></div>
|
|
95
|
+
<div>Starting OonaCode…</div>
|
|
96
|
+
</div>
|
|
97
|
+
</div>
|
|
98
|
+
</body>
|
|
99
|
+
</html>
|