🎨 Improve desktop boot interface

This commit is contained in:
Daniel 2023-06-22 21:40:19 +08:00
parent 97ff59398f
commit 7b52e846df
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 3 additions and 3 deletions

View file

@ -41,7 +41,7 @@
window.location.replace(uri) window.location.replace(uri)
} }
(async () => { (async () => {
document.getElementById('details').textContent = 'Booting...' document.getElementById('details').textContent = 'Booting kernel...'
let progressing = false let progressing = false
while (!progressing) { while (!progressing) {
try { try {

View file

@ -52,7 +52,7 @@ var (
) )
func Boot() { func Boot() {
IncBootProgress(3, "Booting...") IncBootProgress(3, "Booting kernel...")
rand.Seed(time.Now().UTC().UnixNano()) rand.Seed(time.Now().UTC().UnixNano())
initMime() initMime()
initHttpClient() initHttpClient()

View file

@ -29,7 +29,7 @@ import (
) )
func BootMobile(container, appDir, workspaceBaseDir, lang string) { func BootMobile(container, appDir, workspaceBaseDir, lang string) {
IncBootProgress(3, "Booting...") IncBootProgress(3, "Booting kernel...")
rand.Seed(time.Now().UTC().UnixNano()) rand.Seed(time.Now().UTC().UnixNano())
initMime() initMime()
initHttpClient() initHttpClient()