feat: Implemented dolphin integration

This commit is contained in:
Simeon Radivoev 2026-04-02 14:20:30 +03:00
parent edbc390d14
commit a69147a4f7
Signed by: simeonradivoev
GPG key ID: 7611A451D2A5D37A
24 changed files with 220 additions and 59 deletions

View file

@ -108,12 +108,22 @@ export const EmulatorPackageSchema = z.object({
z.object({
type: z.literal('direct'),
url: z.url(),
}),
z.object({
type: z.literal('scoop'),
url: z.url(),
})
]))).optional(),
systems: z.array(z.string()),
bios: z.literal(["required", "optional"]).optional()
});
export const ScoopPackageSchema = z.object({
version: z.string(),
url: z.url().optional(),
architecture: z.record(z.string(), z.object({ url: z.url(), hash: z.string().optional() })).optional()
});
export const SystemInfoSchema = z.object({
battery: z.object({
percent: z.number(),