1
0
Fork 0
forked from Mirrors/gomuks

Set modern displaymode when running new login flow

This commit is contained in:
FIGBERT 2023-07-06 00:06:38 +03:00
parent 86659503f3
commit 7251f684c9
No known key found for this signature in database
GPG key ID: 67F1598D607A844B

View file

@ -436,6 +436,7 @@ func (c *Container) OnLogin() {
if c.headless { if c.headless {
c.RunCommand("/cs fetch") c.RunCommand("/cs fetch")
c.RunCommand("/cs self-sign") c.RunCommand("/cs self-sign")
c.config.Preferences.DisplayMode = config.DisplayModeModern
c.gmx.Stop(true) c.gmx.Stop(true)
} }
} }