fixed me being a dumbass (null bg crashing)
This commit is contained in:
parent
aa6807a0ff
commit
c5221903db
2 changed files with 2 additions and 2 deletions
BIN
src/assets/background.png
Normal file
BIN
src/assets/background.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.4 KiB |
|
|
@ -378,7 +378,7 @@ export const defaultFS: { root: Directory } = {
|
||||||
'24_HOUR=false',
|
'24_HOUR=false',
|
||||||
'THEME=Mocha',
|
'THEME=Mocha',
|
||||||
'THEME_PRIMARY=blue',
|
'THEME_PRIMARY=blue',
|
||||||
'BACKGROUND='
|
'BACKGROUND=/src/assets/background.png'
|
||||||
].join('\n'))
|
].join('\n'))
|
||||||
},
|
},
|
||||||
hostname: {
|
hostname: {
|
||||||
|
|
@ -451,7 +451,7 @@ class VirtualFS {
|
||||||
await this.writeFile('/etc/flow', stringify(config))
|
await this.writeFile('/etc/flow', stringify(config))
|
||||||
}
|
}
|
||||||
if (config.BACKGROUND == null) {
|
if (config.BACKGROUND == null) {
|
||||||
config.BACKGROUND = ''
|
config.BACKGROUND = '/src/assets/background.png'
|
||||||
await this.writeFile('/etc/flow', stringify(config))
|
await this.writeFile('/etc/flow', stringify(config))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue