mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 Improve desktop boot interface
This commit is contained in:
parent
97ff59398f
commit
7b52e846df
3 changed files with 3 additions and 3 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
|
|
@ -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()
|
||||||
|
|
|
||||||
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue