Skip to content

Commit

Permalink
Gather steam apps closer to where they're needed, improve efficiency
Browse files Browse the repository at this point in the history
  • Loading branch information
toebeann committed Jan 25, 2025
1 parent e8ab865 commit 318b331
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,6 @@ export const run = async () => {
},
);
const gamePath = dirname(gameAppPath);
const steamApps = await Array.fromAsync(getAppsByPath(gamePath));

log(
wrap([
Expand Down Expand Up @@ -554,7 +553,8 @@ export const run = async () => {
}
};

const [plist, switchSupported] = await Promise.all([
const [steamApps, plist, switchSupported] = await Promise.all([
Array.fromAsync(getAppsByPath(gamePath)),
parsePlistFromFile(
join(gameAppPath, "Contents", "Info.plist"),
),
Expand Down

0 comments on commit 318b331

Please sign in to comment.