Add 'enableGpu' param, allowing running Unity w/o -nographics (#636)

This commit is contained in:
Szymon Sirocki
2024-03-07 16:50:30 +01:00
committed by GitHub
parent e820c9ce7b
commit fc0a52b805
9 changed files with 41 additions and 2 deletions

View File

@@ -133,6 +133,12 @@ class Input {
return input === 'true';
}
static get enableGpu(): boolean {
const input = Input.getInput('enableGpu') ?? false;
return input === 'true';
}
static get customParameters(): string {
return Input.getInput('customParameters') ?? '';
}