fix(session): keep the Android zone out of the Windows TZ variable

This commit is contained in:
The412Banner committed 2026-11-26 13:05:54 +00:00
1 parent 96e4bd4eab
commit b245036bd5
4 files changed
+26 -2

No files matched your search

@@ -1007,7 +1007,9 @@ class SessionService : Service() {
com.droiddeck.launcher.core.AppLanguage.effective(this),
com.droiddeck.launcher.core.AppLanguage.system(this).country,
))
guest.add("TZ=" + java.util.TimeZone.getDefault().id)
val timeZone = java.util.TimeZone.getDefault().id
guest.add("TZ=$timeZone")
guest.add("WINE_HOST_TZ=$timeZone")
if (SessionState.mode == MODE_STEAM) SessionPrefs.pendingShaderPrecache(this)?.let { guest.add("DD_SHADER_PRECACHE=" + if (it) "1" else "0") }
guest.add("DD_VALVE_PROTON=" + if (SessionPrefs.ownProtonFirst(this)) "0" else "1")
guest.add("XDG_RUNTIME_DIR=" + LinuxRuntime.GUEST_RUNTIME_DIR)