playlite
    Preparing search index...
    • Hook para gerenciar a importação de jogos da Legacy Games. Aceita opcionalmente um appStatePath manual para o app-state.json, usado quando a detecção automática (inclusive via Wine, no Linux) falha.

      Parameters

      • OptionalonLibraryUpdate: () => void

      Returns {
          appStatePath: string;
          setAppStatePath: (newValue: string) => void;
          loading: { importingLegacy: boolean };
          status: ImportStatus;
          actions: {
              importLegacyGames: (...args: [appStatePath?: string]) => Promise<void>;
          };
      }