Build and deploy ETEN DOS demo
Browse files- ETEN.img +0 -0
- dos.zip +0 -0
- dos622.iso +0 -3
- index.html +1 -1
- style.css +0 -28
ETEN.img
CHANGED
|
Binary files a/ETEN.img and b/ETEN.img differ
|
|
|
dos.zip
CHANGED
|
Binary files a/dos.zip and b/dos.zip differ
|
|
|
dos622.iso
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:c00f4612390689b1c6c4512177cce1cc3cbc7ad98c9bb8357e61529b0f19eb77
|
| 3 |
-
size 2971648
|
|
|
|
|
|
|
|
|
|
|
|
index.html
CHANGED
|
@@ -134,7 +134,7 @@
|
|
| 134 |
send(event.keyCode, false);
|
| 135 |
});
|
| 136 |
if (typeof Dos !== 'function') { status.textContent = 'js-dos 核心載入失敗'; return; }
|
| 137 |
-
Dos(host, { wdosboxUrl: 'wdosbox.js' }).ready((fs, main) => {
|
| 138 |
status.textContent = '正在載入 DOS 開機磁碟…';
|
| 139 |
fs.extract('dos.zip', '/').then(() => main(['-c', 'boot ETEN.img']))
|
| 140 |
.then((ci) => {
|
|
|
|
| 134 |
send(event.keyCode, false);
|
| 135 |
});
|
| 136 |
if (typeof Dos !== 'function') { status.textContent = 'js-dos 核心載入失敗'; return; }
|
| 137 |
+
Dos(host, { wdosboxUrl: 'https://js-dos.com/6.22/current/wdosbox.js' }).ready((fs, main) => {
|
| 138 |
status.textContent = '正在載入 DOS 開機磁碟…';
|
| 139 |
fs.extract('dos.zip', '/').then(() => main(['-c', 'boot ETEN.img']))
|
| 140 |
.then((ci) => {
|
style.css
DELETED
|
@@ -1,28 +0,0 @@
|
|
| 1 |
-
body {
|
| 2 |
-
padding: 2rem;
|
| 3 |
-
font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
|
| 4 |
-
}
|
| 5 |
-
|
| 6 |
-
h1 {
|
| 7 |
-
font-size: 16px;
|
| 8 |
-
margin-top: 0;
|
| 9 |
-
}
|
| 10 |
-
|
| 11 |
-
p {
|
| 12 |
-
color: rgb(107, 114, 128);
|
| 13 |
-
font-size: 15px;
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
-
}
|
| 17 |
-
|
| 18 |
-
.card {
|
| 19 |
-
max-width: 620px;
|
| 20 |
-
margin: 0 auto;
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
-
}
|
| 25 |
-
|
| 26 |
-
.card p:last-child {
|
| 27 |
-
margin-bottom: 0;
|
| 28 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|