-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathindex.html
More file actions
61 lines (56 loc) · 1.72 KB
/
index.html
File metadata and controls
61 lines (56 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>NoneOS</title>
<script src="/packages/libs/ofa/ofa.js#debug"></script>
<link rel="stylesheet" href="/packages/others/colors.css" pui-colors />
<style>
html,
body {
padding: 0;
margin: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
body {
/* font: 400 1em/1.8 -apple-system, BlinkMacSystemFont, Segoe UI,
Microsoft Yahei, Helvetica, Arial, sans-serif, Apple Color Emoji,
Segoe UI Emoji; */
font: 16px / 24px ui-sans-serif, -apple-system, "system-ui",
"Segoe UI Variable Display", "Segoe UI", Helvetica, "PingFang SC",
"Microsoft YaHei", Helvetica, "Apple Color Emoji", Arial, sans-serif,
"Segoe UI Emoji", "Segoe UI Symbol";
-webkit-font-smoothing: auto;
}
#snackbar-container {
box-sizing: border-box;
padding-bottom: 40px;
}
</style>
</head>
<body>
<o-root-provider name="pui"></o-root-provider>
<l-m src="/packages/none-os/none-os.html"></l-m>
<none-os></none-os>
<script type="module">
const load = lm(import.meta);
(async () => {
const { get } = await load("/packages/fs/main.js");
try {
const hashes = await get("packages/hashes.json");
if (!hashes) {
location.href = "/install";
}
} catch (err) {
location.href = "/install";
return;
}
load("/sw/register.js");
})();
</script>
<!-- <script src="sw/register.js" type="module"></script> -->
</body>
</html>