Skip to content

Commit

Permalink
(hotfix) temporarily disable loading screen
Browse files Browse the repository at this point in the history
The new Sober update breaks it completely, so I'll have to fix it later.
  • Loading branch information
xTrayambak committed Sep 22, 2024
1 parent f12b234 commit 8cfad75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Lucem now stands at around 2.3K lines of code. This update did a whole lot of ho
## Bug Fixes
* Serialization issue, this might've been causing Sober to be rendered unusable until it is force resetted in some very specific scenarios, see issue #8
* We no longer spam `flatpak ps` to check if Sober is running, which'd cause the system to run out of memory if you played for long durations (4-5 hours), depending on how much RAM you have.
* Temporarily disabled the loading screen for everyone as the new Sober update seems to completely break it.

## New Features
* You can now directly force Sober to use either X11 or Wayland with the `client:backend` TOML configuration entry.
Expand Down
6 changes: 4 additions & 2 deletions src/commands/run.nim
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,11 @@ proc runRoblox*(input: Input, config: Config) =
info "lucem: redirecting sober logs to: " & getSoberLogPath()
discard flatpakRun(SOBER_APP_ID, getSoberLogPath(), config.client.launcher)

if config.lucem.loadingScreen:
#[ if config.lucem.loadingScreen:
debug "lucem: creating loading screen GTK4 surface"
initLoadingScreen(addr state, slock)
initLoadingScreen(addr state, slock) ]#
if config.lucem.loadingScreen:
warn "lucem: the loading screen is currently malfunctioning after the new Sober update. It'll be fixed soon. Sorry! :("

debug "lucem: loading screen has ended, waiting for event watcher thread to exit or die."
evThr.joinThread()
Expand Down

0 comments on commit 8cfad75

Please sign in to comment.