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
|
|
@ -3,6 +3,7 @@ import desc from './package.json';
|
|||
import secrets from "@/bun/api/secrets";
|
||||
import PQueue from 'p-queue';
|
||||
import * as igdb from '@phalcode/ts-igdb-client';
|
||||
import { checkLoginAndRefreshTwitch } from "@/bun/api/auth";
|
||||
|
||||
export default class IgdbIntegration implements PluginType
|
||||
{
|
||||
|
|
@ -39,6 +40,8 @@ export default class IgdbIntegration implements PluginType
|
|||
|
||||
async load (ctx: PluginLoadingContextType)
|
||||
{
|
||||
await checkLoginAndRefreshTwitch();
|
||||
|
||||
ctx.hooks.games.gameLookup.tapPromise(desc.name, async ({ source, id }) =>
|
||||
{
|
||||
if (!process.env.TWITCH_CLIENT_ID) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue