bumped v86

上级 5e12597a
文件已添加
此差异已折叠。
此差异已折叠。
此差异已折叠。
......@@ -31,6 +31,7 @@ async function start () {
cdrom: {
url: '../data/linux.iso',
},
wasm_path: '../data/v86.wasm',
autostart: true,
disable_keyboard: true,
})
......@@ -44,7 +45,7 @@ async function start () {
}, 2000)
})
NodePTY.vm.add_listener('download-progress', (e) => {
this.emit('data', `\rDownloading ${e.Rg}: ${e.loaded / 1024}/${e.total / 1024} kB `)
this.emit('data', `\rDownloading ${e.file_name}: ${e.loaded / 1024}/${e.total / 1024} kB `)
})
NodePTY.vm.add_listener('download-error', (e) => {
this.emit('data', '\r\nDownload error\r\n')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册