feat: Implemented launching and downloading of roms
This is just an initial implementation lots of kings to iron out
This commit is contained in:
parent
ef08fa6114
commit
f15bf9a1e0
117 changed files with 37776 additions and 1073 deletions
|
|
@ -16,4 +16,15 @@ export function checkRunning (pid: number)
|
|||
{
|
||||
return error.code === 'EPERM';
|
||||
}
|
||||
}
|
||||
|
||||
export function getErrorMessage (error: unknown): string
|
||||
{
|
||||
if (error instanceof Error) return error.message;
|
||||
return String(error);
|
||||
}
|
||||
|
||||
export function isSteamDeckGameMode ()
|
||||
{
|
||||
return !!Bun.env.SteamDeck;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue