fix(xbox): hand Xodus a launch folder the Linux guest can see (#2751)

* fix(xbox): log and show why an Xbox launch could not be prepared

* fix(xbox): hand Xodus a launch folder the Linux guest can see

---------

Co-authored-by: Zeratullo <8460122+Zeratullo@users.noreply.github.com>
This commit is contained in:
ZeratulloandZeratullo authored and GitHub committed 2026-11-18 00:23:00 -05:00
1 parent c8b291b9db
commit c7cd2b55af
4 files changed
+19 -3

No files matched your search

@@ -50,4 +50,15 @@ class XboxLaunchViewsTest {
assertEquals("preserve", evidence.readText())
} finally { root.deleteRecursively() }
}
@Test fun viewsKeepTheFilesPathTheGuestBinds() {
val root = Files.createTempDirectory("xbox-view-alias").toFile()
try {
val real = root.resolve("data/data/app/files").apply { mkdirs() }
val alias = root.resolve("user0").also { Files.createSymbolicLink(it.toPath(), real.parentFile!!.toPath()) }.resolve("files")
val view = XboxLaunchViews().create(alias)
assertEquals(alias.resolve("xbox-runtime/views").path, view.parentFile!!.path)
assertTrue(real.resolve("xbox-runtime/views").resolve(view.name).isDirectory)
} finally { root.deleteRecursively() }
}
}