fix: logins now refresh on plugins load
feat: Added tar archive support fix: Downloaded games and emulator execute permission now updated fix: Fixed rclone for linux fix: on screen keyaboard only now shows up when using a gamepad or touch
This commit is contained in:
parent
6aacec2c0d
commit
7bd0ebdcca
39 changed files with 523 additions and 275 deletions
|
|
@ -13,6 +13,7 @@ import { getAuthToken } from "@/clients/romm/core/auth.gen";
|
|||
import { client } from "@/clients/romm/client.gen";
|
||||
import { validateGameSource } from "@/bun/api/games/services/statusService";
|
||||
import z from "zod";
|
||||
import { checkLoginAndRefreshRomm } from "@/bun/api/auth";
|
||||
|
||||
const SettingsSchema = z.object({
|
||||
savesSync: z.boolean().default(false).describe("Experimental save sync support")
|
||||
|
|
@ -143,6 +144,8 @@ export default class RommIntegration implements PluginType<SettingsType>
|
|||
async load (ctx: PluginLoadingContextType<SettingsType>)
|
||||
{
|
||||
this.isSteamDeck = isSteamDeckGameMode();
|
||||
ctx.setProgress(0, "Logging Into Romm");
|
||||
await checkLoginAndRefreshRomm();
|
||||
await this.updateClient();
|
||||
|
||||
ctx.hooks.games.fetchGames.tapPromise(desc.name, async ({ query, games }) =>
|
||||
|
|
@ -150,7 +153,6 @@ export default class RommIntegration implements PluginType<SettingsType>
|
|||
if (!await this.checkRemote()) return;
|
||||
if (((!query.platform_source || query.platform_source === 'romm') || !!query.collection_id) && (!query.source || query.source === 'romm'))
|
||||
{
|
||||
|
||||
const rommGames = await getRomsApiRomsGet({
|
||||
query: {
|
||||
platform_ids: query.platform_id ? [query.platform_id] : undefined,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue