mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-18 20:36:04 +00:00
Play installs the Linux runtime on a fresh install, on the loading screen
Play and Desktop UI are enabled without a runtime. The session's loading screen downloads and
unpacks it first, reporting on its usual step line and bar ("downloading the Linux runtime · 332
of 791 MB", then checking, then unpacking), and starts the session when it is in. A failure ends
on the loading screen with the reason. Non-Adreno devices still get the warning before any
download. Setup > Linux runtime is unchanged.
This commit is contained in:
1 parent
1e1160006c
commit
2b5aae9100
3 files changed
+51
-4
No files matched your search
@@ -203,7 +203,12 @@ class MainActivity : ComponentActivity() {
|
||||
theme = theme,
|
||||
),
|
||||
FrontEndActions(
|
||||
onPlay = { startActivity(Intent(this, SessionActivity::class.java)) },
|
||||
onPlay = {
|
||||
// No runtime and not an Adreno: the same warning Setup gives, before any download.
|
||||
val warn = installed == null && !com.steamdeck.launcher.core.DeviceSupport.adreno()
|
||||
if (warn && available != null) showNonAdreno = available
|
||||
else startActivity(Intent(this, SessionActivity::class.java))
|
||||
},
|
||||
onPlayDesktopUi = {
|
||||
startActivity(Intent(this, SessionActivity::class.java)
|
||||
.putExtra(SessionService.EXTRA_STEAM_UI, "desktop"))
|
||||
|
||||
Reference in new issue
Block a user