File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
src/backend/storeManagers/legendary Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ import {
4040import { callRunner } from '../../launcher'
4141import { dirname , join } from 'path'
4242import { isOnline } from 'backend/online_monitor'
43- import { update } from './games'
4443import { LegendaryCommand } from './commands'
4544import { LegendaryAppName , LegendaryPlatform } from './commands/base'
4645import { Path } from 'backend/schemas'
@@ -386,26 +385,6 @@ export async function listUpdateableGames(): Promise<string[]> {
386385 return updateableGames
387386}
388387
389- /**
390- * Update all updateable games.
391- * Uses `listUpdateableGames` along with `LegendaryGame.update`
392- *
393- * @returns Array of results of `Game.update`.
394- */
395- export async function updateAllGames ( ) {
396- return (
397- await Promise . allSettled (
398- ( await listUpdateableGames ( ) ) . map ( async ( appName ) => update ( appName ) )
399- )
400- ) . map ( ( res ) => {
401- if ( res . status === 'fulfilled' ) {
402- return res . value
403- } else {
404- return null
405- }
406- } )
407- }
408-
409388/**
410389 * Change the install path for a given game.
411390 *
You can’t perform that action at this time.
0 commit comments