feat: add automatic executable path binding upon download finish

This commit is contained in:
Moyasee
2026-01-19 04:01:21 +02:00
parent 7293afb618
commit 98cfe7be98
6 changed files with 121 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
import { gameExecutables } from "./process-watcher";
export class GameExecutables {
static getExecutablesForGame(objectId: string): string[] | null {
const executables = gameExecutables[objectId];
if (!executables || executables.length === 0) {
return null;
}
return executables.map((exe) => exe.exe);
}
}