mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-19 04:46:08 +00:00
Read the package catalogs from Droid-Deck/DroidDeck-Components (#544)
The Windows components catalog, the desktop and emulator packages, the Linux runtime and the Steam seed now live on the organisation's components repository, mirrored and built there by CI; the app reads the catalogs from its main and the files from its releases. The personal winlator-contents mirror keeps serving older app versions and Bannerlator.
This commit is contained in:
1 parent
3589ad9127
commit
cf59d39599
4 files changed
+6
-6
No files matched your search
@@ -11,7 +11,7 @@ import org.robolectric.annotation.Config
|
||||
@RunWith(RobolectricTestRunner::class)
|
||||
@Config(sdk = [33])
|
||||
class WinComponentsSupportTest {
|
||||
private val base = "https://github.com/The412Banner/winlator-contents/releases/download/system-libraries-v1"
|
||||
private val base = "https://github.com/Droid-Deck/DroidDeck-Components/releases/download/system-libraries-v1"
|
||||
|
||||
private fun step(action: String, vararg pairs: Pair<String, String>) =
|
||||
WinComponents.Step(action, JSONObject().apply { pairs.forEach { (k, v) -> put(k, v) } })
|
||||
@@ -66,7 +66,7 @@ class WinComponentsSupportTest {
|
||||
}
|
||||
|
||||
@Test fun recordedInstallersInstallHere() {
|
||||
val snapshot = "https://github.com/The412Banner/winlator-contents/releases/download/component-snapshots-v1/K-Lite.snapshot.json"
|
||||
val snapshot = "https://github.com/Droid-Deck/DroidDeck-Components/releases/download/component-snapshots-v1/K-Lite.snapshot.json"
|
||||
// A setup program with a recording of its result installs from the recording.
|
||||
val klite = WinComponents.Component("K-Lite", "", "", "ready", emptyList(),
|
||||
listOf(step("install_exe", "url" to "$base/K-Lite.exe", "file_name" to "K-Lite_1960.exe")), snapshot)
|
||||
|
||||
Reference in new issue
Block a user